MIDI: fix regtest failure
[lilypond/patrick.git] / input / regression / repeat-unfold.ly
blobd2a5da49e0bcd35b9d87fd859bce7a0704e3c22f
1 \version "2.12.0"
3 \header{
4 texidoc="LilyPond has two modes for repeats: unfolded and semi-unfolded.
5 Unfolded repeats are fully written out. Semi unfolded repeats have the body
6 written and all alternatives sequentially. If the number of alternatives is
7 larger than the repeat count, the excess alternatives are ignored. If the
8 number of alternatives is smaller, the first alternative is multiplied to
9 get to the number of repeats.
11 Unfolded behavior:"
14 \context Voice \relative c'' {
15 \repeat unfold 3 { c^"3x 0a" d }
16 %% less alts than body
17 \repeat unfold 4 { c^"4x 0a" d } \alternative { e f }
18 %% more alts than body
19 \repeat unfold 2 { c^"2x 3a" d } \alternative { e f g }