Hi,
A few days ago Kieren helped me out with a problem placing lyrics
beneath an accidental polyphonic bar ("Sub optimal placing of lyrics in
accidental polyphonic bars", 7th of May in this list).
While this works as a charm with quite a few such instances, I seem to
have a problem when there is just 1 polyphonic bar:
In bars 2 and 3 the placement is correct, but after bar 6 no lyrics are
rendered. Regarding "\set associatedVoice" the documentation remarks
"*Note:* The |\set associatedVoice| command must be placed one syllable
/before/ the one at which the switch to the new voice is to occur."
But it somehow does not work here.
I fiddled around a bit with the syllables surrounding the two voice
parts, but I can't get a good result.
Anyone who can spot my error here?
Thanks again in advance!
regards, Jogchum
%%% Start snippet
\version "2.25.32"
\paper {
% Add space for instrument names
indent = 18\mm
short-indent = 10\mm
}
global = {
\key g \major
\time 3/4
}
alto = \relative c'' {
\global
r2 g4 ^\mf \time 4/4
<< { \voiceOne b2(a4)a
a2(g)
}
\\
\new Voice = "alto1" { \voiceTwo g2. g4
g1
}
>>
\oneVoice
g2 \tuplet 3/2 { g2 g4 }
g4 g2 g4 ^\f
<< { \voiceOne b2(a4) a
}
\\
\new Voice = "alto1" { \voiceTwo g2. g4
}
>>
\oneVoice
a2(g)
<g e> \tuplet 3/2 { <g~ es(>4 <g d)> <g c,> } \time 3/4
<a d,><g d>2
R2.*2
r4 g ^\mp g fis
fis(e8)g~~g2 \fermata
}
altoVerse = \lyricmode {
\set associatedVoice = "alto1"Mag -- ni -- fi --
\set associatedVoice = "alto" cat a -- ni -- ma me -- a,
\set associatedVoice = "alto1"Mag ni --
\set associatedVoice = "alto "fi -- cat a -- ni -- ma me -- a,
an cil -- lae su -- ae.
}
choirPart = \new ChoirStaff <<
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Alt"
shortInstrumentName = "A."
} \new Voice = "alto" \alto
\new Lyrics \with {
\override VerticalAxisGroup.staff-affinity = #CENTER
} \lyricsto "alto" \altoVerse
>>
\score {
<<
\choirPart
>>
\layout {\override Score.BarNumber.break-visibility =
#end-of-line-invisible
}
}
%%%% End snippet