Hi Kieran

Unfortunately I sampled the only bar in the piece where lyrics align up to the second voice. For all the rest they align to the first so this solution doesn't work for me. On the other hand that explains why Lilypond can't do the 'right' thing -- it can't know which voice I expect it to align a lyric to. So the cleanest solution is a third hidden voice to make alignment explicit.

Thanks for your input. Although it's not the correct solution for me, it clarified my understanding!

Roman

On 23/07/2026 22:05, Kieren MacMillan wrote:
Hi Roman,

Is there anything simpler (and easier to maintain) than to code up a hidden 
third voice to align the lyrics to?
\version "2.27.2"

     <<
       \relative c'' <<
         { \voiceOne c1 } \\
         \context Voice = "melody" { \voiceTwo g4( g g g) }
       >>
       \new Lyrics \lyricsto "melody" { Huh? __ }
     >>

Hope that helps!
Kieren.

__________________________________________________

My work day may look different than your work day. Please do not feel obligated 
to read or respond to this email outside of your normal working hours.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to