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.

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.
\version "2.25.32"
\header { tagline = ##f }

global = {
  \key g \minor
  \time 4/4
}

altoi = \relative {
  \voiceOne
  g'8( f4 g) a a8~
  a bes4 f8~ f2
  bes8(a4)bes(a)bes8~
  bes bes4 bes bes4.
  bes8 bes4 bes bes c8~
  c bes4 c bes4.
  bes8 bes4 bes bes c8~
  c bes4 bes
  f4.
  \oneVoice
  R1
  r2 \voiceOne g'4( f
  c bes8 c d4 c
  bes1)
  \oneVoice
  d,4.( es8 f2~
  f4 es d) a'8 ^\mf bes
}

altoii = \relative {
  \voiceTwo
  es'8( es4 es) es es8~
  es f4 d8~ d2
  g4. g2 g8~g g4 g g4.
  f8 g4 f g f8~
  f f4 f f4. f8 g4 f g f8~
  f f4 f
  f4.
  s1
  s2 g4( ^\mp f
  d4. es8 f2~
  f4 es d c)
}

altoVerse = \lyricmode {
  in __ pro -- ge -- ni -- es
  ti -- men -- ti -- bus e -- um.
  Et mi -- se -- ri -- cor -- dia ei -- us,
  et mi -- se -- ri cor -- dia ei -- \set associatedVoice = "alto2" us
  \set associatedVoice = "alto1" Ah, __ ah. __
  Et pro
}

\score {
  \new ChoirStaff <<
    \new Staff <<
      \new Voice = "alto1" { \global \altoi }
      \new Voice = "alto2" { \global \altoii }
      \new Lyrics \with {
        \override VerticalAxisGroup.staff-affinity = #CENTER
      } \lyricsto "alto1" \altoVerse
    >>
  >>
  \layout {
    \override Score.BarNumber.break-visibility = #end-of-line-invisible
    \override Score.BarNumber.self-alignment-X = #-1
  }
  \midi { }
}

Attachment: Lyrics_divisi_d.pdf
Description: Adobe PDF document

Reply via email to