Op 10-07-2026 om 06:37 schreef Michael Gerdau:
Hi Jogchum,

I would try 2 variants:
1. Remove the short one voice period and have that segment in both voices. Use the merge rest engraver to merge the duplicated rests.
Yes, this works; didn't know the merge rest engraver.
2. Around line 35 you have another \new Voice="alto1". At least conceptually this seems wrong as you want to reuse the existing voice. Therefore I'd write \context Voice="alto1" instead though I'm not sure it actually makes a difference.

It doesn't, but you are right. Didn't know the \context Voice= construct.

Thanks! cheers, Jogchum


Kind regards,
Michael


Am 9. Juli 2026 21:07:05 MESZ schrieb Jogchum Reitsma via LilyPond user discussion <[email protected]>:

    Hi, With the help on this list, I learned to use the "\set
    associatedVoice = "-construct to place lyrics correct in bars with
    split voices. I frequently use it, and it always works. Except in
    this case, where the split voice bar is preceded by a bar rest. I
    add two examples, in which the problem manifests itself in bar 9
    and 10. In Lyrics_divisi.ly, I circumvented the problem by
    replacing the rests with g2, and add "bla bla bla"as text. It is
    rendered as wanted. In lyrics_divisi_b.ly, the problem appears
    when I fill bar 9 and the first half of bar 10 with rests. Now the
    text is not rendered correctly. I've tried a number of variants to
    get the result I want, but so far I don't see a solution. But I'm
    convinced there is one. Anyone who can shed some light on this?
    Would be very grateful (again...)! cheers, Jogchum

Reply via email to