3 texidoc = "The standard function unfold-repeats will recursively unfold
4 all repeats for correct MIDI output. Thanks to Rune Zedeler."
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'}
21 \apply #unfold-repeats \mel