lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BRICK WALL


From: Mischa Falkenburg
Subject: Re: BRICK WALL
Date: Mon, 16 Jul 2007 17:22:19 -0400
User-agent: Thunderbird 1.5.0.12 (Windows/20070509)

Valentin Villenave wrote:

I advice you to clean your code this way, and then post again your
score (with all of the 6 voices); then we'll be able to help (if the
cleaning didn't solve your problem, which is nevertheless possible
after all :)

%%% Here's your score --much shorter :)

timeAndKey =  { \time 4/4 \key g \major}

voiceA = \relative c'' { \timeAndKey
\repeat unfold 4 { g'4 fis4 d8 e b c d4 fis4 d4 b4 a8 b \times 2/3 {c
d c}d8 g fis
d c4 a2 g4}
}
voiceB = \relative c { \timeAndKey
\repeat unfold 8 { d'8 e fis4 g8 a c4 e4 c8 b a4 g8 fis }
}


\score {
\new GrandStaff {<<
\new Staff  \voiceA
\new Staff  \voiceB
>>
}}

OK Valentin, I tried it (first) totally as you wrote...this did NOT generate a .pdf file for me(or anyone else) to see :-( . But, using some of what you've shown me...but keeping my { }'s & [ ]'s ;-) , I plugged my code so it was like this:

\version "2.10.0"
timeAndKey = {\time 4/4 \key g \major}
voiceA = \relative c'' {\timeAndKey
\repeat unfold 4 {g'4 fis4 d8[e b c]}{d4 fis4 d4 b4}{a8[b] \times 2/3 {c d c} d8[g fis d]}{c4 a2 g4}
}
voiceB = \relative c {\timeAndKey
\repeat unfold 2 {d'8[e] fis4 g8[a] c4}{e4 c8[b] a4 g8[fis]}
}
voiceC = \relative c {\timeAndKey
\repeat unfold 3 {b"4 a4 b4 e4}{g4 a4 fis4 e4~}{e4 c4 c8[d] r4}
}
voiceD = \relative c" {\timeAndKey
\repeat unfold 7 {r1}{r1}{g'4 fis4 d8[e b c]}{e4 c8[b] a4 g8[fis]}{a8[b] \times 2/3 {c8 d c} d8[g fis d]}{e4 c8[b] a4 g8[fis]}{r1}
}
voiceE = \relative c' {\timeAndKey
\repeat unfold 5 {c'2 b8[d c b]}{a4 b4 g2~}{g2 b8[d c b]}{c4 fis4 \times 2/3 {e8 d e} d4~}{d4 a2 r4}
}
voiceF = \relative c" {\timeAndKey
\repeat unfold 8 {g'2(e2}{c2) r2}{e2(c2}{c2) r2}{fis'2(d2}{b2) r2}{d2 b2)}{g1)}
}

\new GrandStaff <<
   \new Staff  \voiceA
   \new Staff  \voiceB
   \new Staff  \voiceC
   \new Staff  \voiceD
   \new Staff  \voiceE
   \new Staff  \voiceF
>>
\layout { }
\midi { }

Now, what happened here is that the first measure of each phrase gets repeated, rather than the entire phrase. How to do THAT? Also, LilypondTool via jEdit isn't generating a MIDI file either. Just to clear-up any confusion, the IDEA behind this piece is that each phrase/Voice is repeated UNTIL the "next" vertical chord would be identical to the first vertical chord. In other words, the last "chord" for this piece is the same as the first...g b d r c g. Pretty cerebral, eh? Any way, that's where it stands right now. The ball is in anyone's court :-D .





reply via email to

[Prev in Thread] Current Thread [Next in Thread]