int(0) array(11) { [0]=> string(44) "Running as unit: run-p323583-i323584.service" [1]=> string(60) "Changing working directory to: `/tmp/lilywiki-tmpdb5785472e'" [2]=> string(48) "Processing `/tmp/lilywiki-tmpdb5785472e/file.ly'" [3]=> string(10) "Parsing..." [4]=> string(21) "Interpreting music..." [5]=> string(34) "Preprocessing graphical objects..." [6]=> string(36) "Finding the ideal number of pages..." [7]=> string(26) "Fitting music on 1 page..." [8]=> string(18) "Drawing systems..." [9]=> string(30) "Layout output to `file.svg'..." [10]=> string(43) "Success: compilation successfully completed" } Merging multi-measure rests in a polyphonic part - LilyPond wiki Jump to content

Merging multi-measure rests in a polyphonic part

From LilyPond wiki

When using multi-measure rests in a polyphonic staff, the rests will be 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.0"

normalPos = \revert MultiMeasureRest.direction

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