2 % TODO: rethink name and whole file -- possible delete or major
3 % changes. See repeat-manual.ly
5 texidoc="@cindex Coda Kludge"
9 I want to write some music that has the structure:
12 \repeat 4 { Chorus [first-ending] verse }
17 \repeat 4 { Chorus \alternative{{first-ending}{}} verse}
18 \alternative{{}{fifth-ending}}
23 And the (logically correct but ugly)
26 \alternative {{first-ending verse}{fifth ending}}
29 is very ugly, because the volta bracket keeps going for so
37 \context Staff \notes\relative c''{
39 % coda-klugde: let volta span only one bar
40 \property Staff.voltaSpannerDuration = #(ly:make-moment 1 1)
41 \repeat "volta" 5 { d d d d }
42 \alternative { { e e e e f f f f }
45 \context Lyrics \lyrics{
49 { chorus1 one verse1 }
50 { chorus1 two verse1 }
51 { chorus1 three verse }
52 { chorus1 four verse }
57 \paper{raggedright = ##t}