[ << Musical notation ] | [Top][Contents][Index] | [ Specialist notation >> ] |
[ < Collision resolution ] | [ Up : Multiple voices ] | [ Automatic part combining > ] |
Merging rests
When using multiple voices it is common to merge rests which occur in both
parts. This can be accomplished using Merge_rests_engraver
.
voiceA = \relative { d''4 r d2 | R1 | } voiceB = \relative { fis'4 r g2 | R1 | } \score { << \new Staff \with { instrumentName = "unmerged" } << \new Voice { \voiceOne \voiceA } \new Voice { \voiceTwo \voiceB } >> \new Staff \with { instrumentName = "merged" \consists Merge_rests_engraver } << \new Voice { \voiceOne \voiceA } \new Voice { \voiceTwo \voiceB } >> >> }
Setting the context property suspendRestMerging
to #t
allows for turning off rest merging temporarily.
[ << Musical notation ] | [Top][Contents][Index] | [ Specialist notation >> ] |
[ < Collision resolution ] | [ Up : Multiple voices ] | [ Automatic part combining > ] |