>>>>> "Cameron" == Cameron Hall <[email protected]> writes:
Cameron> I've run into a strange problem that I think may be a bug. In
Cameron> this MWE, I have a repeat with alternate endings. However,
Cameron> the "\repeat unfold 3 { c1 }" is causing the volta brackets
Cameron> to disappear for some reason. If I instead write out "c1 c1
Cameron> c1", it works as expected. If I add another note right before
Cameron> the "\alternative", it also works as expected. However, if
Cameron> there's a repeat right before the "\alternative", it messes
Cameron> up.
The syntax of repeat is:
\repeat TYPE MUSIC ALTERNATIVES
So when you have:
\repeat volta 2 {
\repeat unfold {}
\alternative {
}
}
The alternatives are attached to the unfolded repeat, and get unfolded.
You want instead:
\repeat volta 2 {
\repeat unfold 3 {}
} \alternative {
}
%%%
\version "2.24.4"
\fixed c'' {
\repeat volta 2 {
\repeat unfold 3 { c1 }
}
\alternative {
\volta 1 { d }
\volta 2 { e }
}
c4 r r2
}
%%%