|
From: | Patrick Schmidt |
Subject: | Re: repeats and alternatives |
Date: | Sat, 4 Dec 2010 23:31:32 +0100 |
Am 04.12.2010 um 23:05 schrieb James Bailey:
I don't understand alternatives. Can someone explain to me what I'm doing wrong. Why does the first example not compile properly with the excuse, "more alternatives than repeats" but the second example compiles just fine?
Hi James,in your first example you used a pipe symbol outside of the braces of the first alternative. Delete it or use it inside the unfold-braces and both examples will compile.
HTH, patrick
\version "2.12.3" \book { \relative c'' { \time 3/4 \repeat volta 2 { g4 g8 g g4 | } \alternative { { \repeat unfold 4 { g4 g8 g g4 } } | { \repeat unfold 2 { g2. } } } g2. } } \book { \relative c'' { \time 3/4 \repeat volta 2 { g4 g8 g g4 | } \alternative { { \repeat unfold 4 { g2. } } { \repeat unfold 2 { g2. } } } g2. } } _______________________________________________ lilypond-user mailing list address@hidden http://lists.gnu.org/mailman/listinfo/lilypond-user
[Prev in Thread] | Current Thread | [Next in Thread] |