1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
\version "2.19.21"
\header{
texidoc="
Volta (Semi folded) behavior. Voltas can start on non-bar line moments.
If they don't bar lines should still be shown.
"
}
#(ly:set-option 'warning-as-error #t)
%% One warning for the \repeat and one for the \alternative.
#(ly:expect-warning (G_ "More alternatives than repeats. Junking excess alternatives"))
#(ly:expect-warning (G_ "More alternatives than repeats. Junking excess alternatives"))
\context Voice \relative {
%% repeat non aligning with bar lines.
\repeat volta 3 { c''^"3x 0alt" d e }
%% less alts than body
\repeat volta 4 { c^"4x 2alt" d } \alternative { e f }
%% more alts than body
\repeat volta 2 { c^"2x 3alt" d } \alternative { e f g }
}
|