]> git.donarmstrong.com Git - lilypond.git/blob - input/test/unfold-all-repeats.ly
release: 1.5.17
[lilypond.git] / input / test / unfold-all-repeats.ly
1
2 \header { 
3 texidoc = "The standard function unfold-repeats will recursively unfold
4 all repeats for correct MIDI output. Thanks to Rune Zedeler."
5 }
6
7
8 mel = \notes \context Staff {
9   \repeat tremolo 8 {c'32 e' }
10   \repeat percent 2 { c''8 d'' }
11   \repeat volta 2 {c'4 d' e' f'} 
12   \alternative {
13     { g' a' a' g' }
14     {f' e' d' c' }
15   }
16   \bar "|."
17 }
18
19 \score { \notes {
20   \mel \break
21   \apply #unfold-repeats \mel
22  }
23 }
24
25