2007/7/16, Mischa Falkenburg <[EMAIL PROTECTED]>:

OK Valentin, I tried it (first) totally as you wrote...this did NOT
generate a .pdf file for me(or anyone else) to see :-( .

You must have forgotten some brace when copying/pasting.

But, using some of what you've shown me...but keeping my { }'s & [ ]'s
;-) , I plugged my code so it was like this:

the point is: braces delimit LilyPond's expressions, for example
\repeat only affects one expression:

\repeat unfold 3 {a b c d} ===> a b c d a b c d a b c d

whereas

\repeat unfold 3 {a b} {c d} ===> a b a b a b c d

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?

I love repetitive music too. But as you can see with the attached
file, you might want to adjust your \repeat numbers, because for now
the voices don't end together...

Besides, maybe you'd better put them in a StaffGroup rather than a
GrandStaff; see the .ly file

Valentin
\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 8 { 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) }
}


\score {
\new StaffGroup {<<
\new Staff  \voiceA
\new Staff  \voiceB
\new Staff  \voiceC
\new Staff  \voiceD
\new Staff  \voiceE
\new Staff  \voiceF
 >>
}}
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to