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