Since you didn't provide an MWE, I'm speculating my example below is what
you are seeking.
Using \set associatedVoice and \tag you can achieve what (I think) you wish
for.
To have lyrics on ritornellos you just have to keep writing. To stack them
up use associatedVoice. Combine to have what you seek; and to create
unfolded scores just use a simple tag.
%%Code starts
%
\version "2.24.4"
melody = \new Voice = "melody" {\relative c'' {
\repeat segno 2 {
\repeat volta 2 {
c1 d e d
\alternative {
\volta 1 { c b }
\volta 2 { e f }
} % end of alternative
} % end of ritornelo
} % end of segno
} }
poem = \new Lyrics \lyricsto "melody" { \lyricmode {
\repeat segno 2 {
\repeat volta 2 {
Just place- holder lyrics
\alternative {
\volta 1 {
<<
{ A B | C D }
\tag #'foldedScore {
\new Lyrics {
\set associatedVoice = "melody"
{ K L | M N }
} % end of lyrics
} % end of tag foldedScore
>>
} % end of volta 1
\volta 2 { K L | M N }
} % end of alternative
} % end of ritornelo
} % end of segno
} }
\score { << \melody \poem >> }
\score { \unfoldRepeats \removeWithTag #'foldedScore << \melody \poem >> }
%%
%%Code ends
Em sex., 17 de out. de 2025, 12:40, Mats Behre <[email protected]>
escreveu:
> Hi,
>
> I've been beating my head without being able to find out the proper way to
> combine lyrics before a repeat, then a repeat with voltas and different
> text in each repeat.
> The main/music voice contains a usual \repeat volta 2 with \alternative
>
> The closest I can get is
> \keepWithTag #'Bar45 \Vocal.soloLyrics
> <<
> \keepWithTag #'Bar61.1 \Vocal.soloLyrics
> \new Lyrics {
> \keepWithTag #'Bar61.2 \Vocal.soloLyrics
> }
> >>
> \keepWithTag #'Bar65 \Vocal.soloLyrics
> \keepWithTag #'Bar69 \Vocal.soloLyrics
>
> Bar45 is lyrics before the repeat, Bar61.1 and 2 are the texts for the
> common part of the repeat, and Bar65 & 69 the lyrics for the voltas.
>
> This sulution works, except that the second row lyrics overlap with the
> volta lines. If I start fiddling with \repeat unfold as suggested by the
> manual (this combination is not in the manual) the spaxcing is good, but it
> starts playing havoc with the matching of syllables to the rythm.
>
> I can't for my life figure out how to do this ...
>
> Thanks,
> Mats
>
>
>