Multi-measure rest length control: Difference between revisions

m New category
Tags: Mobile edit Mobile web edit
Fix snippet to actually show a change.
Line 1: Line 1:
Multi-measure rests have length according to their total duration which is under the control of <code>MultiMeasureRest.space-increment</code>. Note that the default value is <code>2.0</code>.
Multi-measure rests have a length according to their total duration, which is under the control of the <code>space-increment</code> property of the <code>MultiMeasureRest</code> grob; its default value is&nbsp;2.


<lilypond version="2.24" full>
<lilypond version="2.24">
\relative c' {
\relative c' {
  \omit Staff.TimeSignature
  \override MultiMeasureRest.expand-limit = 2
   \compressEmptyMeasures
   \compressEmptyMeasures
   R1*2 R1*4 R1*64 R1*16
   R1*2 R1*4 R1*64 R1*16
   \override Staff.MultiMeasureRest.space-increment = 2.5
  \break
   \override MultiMeasureRest.space-increment = 5
   R1*2 R1*4 R1*64 R1*16
   R1*2 R1*4 R1*64 R1*16
}
}


\paper { tagline = ##f }
\layout {
  ragged-right = ##t
}
</lilypond>
</lilypond>