lilypond-1.5.14
[lilypond.git] / input / bugs / coda-kludge.ly
blob193f1eaa3e2f3a559f2a17739fbddb3d30f1d0d2
1 % The volta texts should read: 1-4 and 5
2 % Not 1 and 2
3 % (see 1.2.17)
5 %{
6 Hi,
7 I want to write some music that has the structure:
9 Intro
10 \repeat 4 { Chorus [first-ending] verse }
11 fifth-ending final
13 The obvious:
15 \repeat 4 { Chorus \alternative{{first-ending}{}} verse}
16 \alternative{{}{fifth-ending}}
17 final
19 doesn't work.
21 And the (logically correct but ugly)
23 \repeat 4 {Chorus}
24 \alternative {{first-ending verse}{fifth ending}}
25 final
27 is very ugly, because the volta bracket keeps going for so
28 long.
30 Peter C
33 \score{
35 \context Staff \notes\relative c''{
36 c c c c
37 % coda-klugde: let volta span only one bar
38 \property Staff.voltaSpannerDuration = #(make-moment 1 1)
39 \repeat "volta" 5 { d d d d }
40 \alternative { { e e e e f f f f }
41 { g g g g } }
43 \context Lyrics \lyrics{
44 intro1
45 \repeat fold 5 {}
46 \alternative {
47 { chorus1 one verse1 }
48 { chorus1 two verse1 }
49 { chorus1 three verse }
50 { chorus1 four verse }
52 five1
58 %\version "1.0.16";