Jump to content

Merging multi-measure rests in a polyphonic part

From LilyPond wiki

When using multi-measure rests in a polyphonic staff, rests are placed differently depending on the voice they belong to. However, they can be printed on the same staff line, using the following setting.

\version "2.24"

normalPos = \revert MultiMeasureRest.direction

<<
  { c''1 R1 c''1 \normalPos R1 } \\
  { c'1  R1 c'1  \normalPos R1 }
>>