Op 10-07-2026 om 05:06 schreef David Wright:
On Thu 09 Jul 2026 at 21:07:05 (+0200), Lilypond-User wrote:
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...)!
It would take me some time to figure out which lyrics belong to which
part. I'm not sure why you set the first two bars in the manner of
American hymn books, and the rest of it in that of English ones, and
particularly the omission of the second part's f4. in measure 8.
In the original edition of im André Arnesens Magnificat (we are waiting
a few months already for the paid-for parts to arrive from the USA to
the Netherlands...) the f4. only has stem-up, so I didn't write it in
the second part. But when one doesn't take that into account, combining
the two \VoiceOne/VoiceTwo constructs to one, placing o the text goes
well. With \consists Merge_rests_engraver (Michael Gerdau pointed me
to) it is fine.
I have no idea what the diffenrence is between American hymn books and
English ones, wasn't aware of those two styles...
Thanks, cheers, Jogchum
I would write it as two parts, converging at measure 13. (There are
a few other adjustments I would typically make, particularly if the
rhythms of the parts diverged at all.)
Cheers,
David.