MMRests cause weirdness following \cadenzaOff
| Newsgroups | gmane.comp.gnu.lilypond.bugs |
|---|---|
| Message-ID | <[email protected]> |
I've been wrestling with this mystery for some hours. I've finally found how to trigger it. The multimeasure rest causes the duplication of the rests in the display in previous measures. A non-multimeasure rest does not result in the weird duplication. If this is a known issue I missed the notice.
-David
%%% BEGIN LILY-CODE %%%
\version "2.24.2"
melody = \relative c' {
\repeat unfold 4 { c4 d e f }
\cadenzaOn
\repeat unfold 4 { c,4 c c c }
\cadenzaOff
\bar "||"
\break
\repeat unfold 5 { r1 } % This will not cause it.
R1*5 % the MMRest causes this
}
\score {
\relative {
\compressMMRests
\melody
}
}
%%% END LILY-CODE %%%
bug-cadenza-with-MMRest.png
(image/png, 16.2 KB) - not displayed
bug-cadenza-with-MMRest.ly
(text/x-lilypond, 291 B)
\version "2.24.2"
\pointAndClickOff
melody = \relative c' {
\repeat unfold 4 { c4 d e f }
\cadenzaOn
\repeat unfold 4 { c,4 c c c }
\cadenzaOff
\bar "||"
\break
R1*5 % the MMRest causes this
}
\score {
\relative {
\compressMMRests
\melody
}
}