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
\version "2.25.32"

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

}

alto = \relative c'' {   \global
                         <g es>8(<f es>4<g es>)<a es>q8~
                         q <bes f>4<f d>8~q2
                         << { \voiceOne 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 
                            }
                         \\
                         \new Voice = "alto1" { \voiceTwo g4. g2 g8~g g4 g g4.
                                                f8 g4 f g f8~
                                                f f4 f f4. f8 g4 f g f8~
                                                f f4 f
                                              }
                       >>
                     \oneVoice
                     f4.
                     g2 g  % to test, shoould be R1
                     g     % to test, shouuld be r2
                         << { \voiceOne g'4( f 
                                        c bes8 c d4 c
                                        bes1)
                             
                            }
                         \\
                         \new Voice = "alto1" { \voiceTwo g4( ^\mp f
                                                          d4. es8 f2~
                                                          f4 es d c)
                                                
                                              }
                        >>
                     \oneVoice
                     d4.( es8 f2~
                     f4 es d) a'8 ^\mf bes 
                                              
  
}

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

\score { \new ChoirStaff <<
  \new Staff \with {
  } \new Voice = "alto" \alto
  \new Lyrics \with {
    \override VerticalAxisGroup.staff-affinity = #CENTER
  } \lyricsto "alto" \altoVerse
%  \new Lyrics \lyricsto "alto1" { ti -- men ti -- bus e -- um.  
%                                  et mi -- se -- ri cor -- dia ei -- us,
%                                  et mi -- se -- ri cor -- dia ei -- 
%                                  Ah __
%                                }  
%  \new Lyrics \lyricsto "alto2" { Ah __  }  
>>

  \layout { \override Score.BarNumber.break-visibility = #end-of-line-invisible
            \override Score.BarNumber.self-alignment-X = #-1 
          }
  \midi { }
}





\version "2.25.32"

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

}

alto = \relative c'' {   \global
                         <g es>8(<f es>4<g es>)<a es>q8~
                         q <bes f>4<f d>8~q2
                         << { \voiceOne 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 
                            }
                         \\
                         \new Voice = "alto1" { \voiceTwo g4. g2 g8~g g4 g g4.
                                                f8 g4 f g f8~
                                                f f4 f f4. f8 g4 f g f8~
                                                f f4 f
                                              }
                       >>
                     \oneVoice
                     f4.
                     R1  
                     r2    
                         << { \voiceOne g'4( f 
                                        c bes8 c d4 c
                                        bes1)
                             
                            }
                         \\
                         \new Voice = "alto1" { \voiceTwo g4( ^\mp f
                                                          d4. es8 f2~
                                                          f4 es d c)
                                                
                                              }
                        >>
                     \oneVoice
                     d4.( es8 f2~
                     f4 es d) a'8 ^\mf bes 
                                              
  
}

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

\score { \new ChoirStaff <<
  \new Staff \with {
  } \new Voice = "alto" \alto
  \new Lyrics \with {
    \override VerticalAxisGroup.staff-affinity = #CENTER
  } \lyricsto "alto" \altoVerse
%  \new Lyrics \lyricsto "alto1" { ti -- men ti -- bus e -- um.  
%                                  et mi -- se -- ri cor -- dia ei -- us,
%                                  et mi -- se -- ri cor -- dia ei -- 
%                                  Ah __
%                                }  
%  \new Lyrics \lyricsto "alto2" { Ah __  }  
>>

  \layout { \override Score.BarNumber.break-visibility = #end-of-line-invisible
            \override Score.BarNumber.self-alignment-X = #-1 
          }
  \midi { }
}





Reply via email to