lilypond-user
[Top][All Lists]
Advanced

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

nested repeats


From: Carl D. Sorensen
Subject: nested repeats
Date: Fri, 16 Jul 2004 14:54:53 -0600

Here's an example of one way to do it.  I used the manual repeat syntax
at 
http://lilypond.org/doc/v2.2/Documentation/user/out-www/lilypond/Manual-
repeat-commands.html#Manual%20repeat%20commands


The partial measure syntax described at 
http://lilypond.org/doc/v2.2/Documentation/user/out-www/lilypond/Partial
-measures.html#Partial%20measures was necessary to make sure that the
bar lines matched up properly on the final ending.

\score
{ \notes \relative c'' {
c4
\set Score.repeatCommands = #'((volta "1"))
d4 d4 d4
\set Score.repeatCommands = #'((volta "2-4") end-repeat)
e4 e4 e4
\set Score.repeatCommands = #'((volta "5") end-repeat)
\partial 2.
f4 f4 f4
\set Score.repeatCommands = #'((volta #f))
g4 g4 g4 g4
}
\paper {}
}

I hope this helps.

Carl Sorensen




reply via email to

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