I'm having trouble getting LilyPond to do what I want.  I have three
voices in one hand (staff).  I want them to merge and line up, but I
can only get one or the other.

%%%
\version "2.22.1"

voiceFive = #(context-spec-music (make-voice-props-set 4) 'Voice)

% How I want it to look, but with another voice
\new Staff <<
  \new Voice { \voiceThree \clef bass e,4 }
  \new Voice { \voiceFour e,16 b,8 b,16 }
>>

% The g16 shifts to the right
\new Staff <<
  \new Voice { \voiceFive \clef bass g16^"g16 shifts" b g b }
  \new Voice { \voiceThree e,4 }
  \new Voice { \voiceFour e,16 b,8 b,16 }
>>

% The two e,s don't merge
\new Staff <<
  \new Voice { \voiceThree \clef bass g16^"e4 shifts" b g b }
  \new Voice { \voiceFive e,4 }
  \new Voice { \voiceFour e,16 b,8 b,16 }
>>
%%%

I've attached a picture of the output.  Any ideas on how to merge
without a shift?

--
Knute Snortum

Reply via email to