bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MMRests cause weirdness following \cadenzaOff


From: address@hidden
Subject: MMRests cause weirdness following \cadenzaOff
Date: Sat, 27 Jan 2024 19:24:18 +0000 (GMT)

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 %%%

Attachment: bug-cadenza-with-MMRest.png
Description: PNG image

Attachment: bug-cadenza-with-MMRest.ly
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]