Is there a way to merge three voices in LilyPond? My specific problem is displayed in the attached file. Here is basically what's going on:
The last sixteenth note in the right hand, first voice needs to appear to be tied to the note in the next measure, which is voice two. This is not a problem. I create a hidden note in voice two and tie to that. All is well. But then I have this wavering sixteenth note line in voice three of the left hand. The last note needs to change staff and merge with the sixteenth note in the right hand. This is not normally a problem, but I've already have a voice two in the right hand, so it doesn't merge. Changing the voice, playing with removing flags and stems and noteheads does not fix the problem -- or at least I didn't find the right combo. Any ideas on how to fix this? -- Knute Snortum
\version "2.22.1" \language "english" staffUp = \change Staff = "upper" staffDown = \change Staff = "lower" global = { \time 6/8 \key ef \minor } rightHandUpper = \relative { gf'4._~ gf4 f16 ef | bf'4. } rightHandLower = \relative { s4. s4 s16 \hideNotes ef'~ \unHideNotes | ef2 } rightHand = << \global \new Voice { \voiceOne \rightHandUpper } \new Voice { \voiceTwo \rightHandLower } >> leftHandUpper = \relative { bf16-2 cf-1 a-3 cf-1 bf-2 gf-4 bf cf a cf bf \staffUp \voiceTwo ef | \staffDown \voiceThree cf16 } leftHandLower = \relative { ef2. | f2. | } leftHand = << \global \clef bass \new Voice { \voiceThree \leftHandUpper } \new Voice { \voiceFour \leftHandLower } >> \score { \new PianoStaff << \new Staff = "upper" \rightHand \new Staff = "lower" \leftHand >> }