Jump to content

Changing form of multi-measure rests

From LilyPond wiki
Revision as of 05:13, 8 December 2025 by Lemzwerg (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

If there are ten or fewer measures of rests, a series of longa and breve rests (called in German “Kirchenpausen” – church rests) is printed within the staff; otherwise a long, thick horizontal line is shown. This default value of ten may be changed by overriding the expand-limit property.

\version "2.24"

\relative c'' {
  \compressMMRests {
    R1*2 | R1*5 | R1*9
    \override MultiMeasureRest.expand-limit = 3
    R1*2 | R1*5 | R1*9
  }
}