Sorry - missed to send this to the list ...
On 2025-10-17 18:44, Lucas Pinke wrote:
Since you didn't provide an MWE, I'm speculating my example below is what you
are seeking.
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
Thanks for the effort, but neither you nor Kieren noted the parts about lyrics
before ther repeat and different lyrics in the common part of the repeat - the
manual explicitly states
"But when the repeated section has different words, or when one of the \alternative
blocks starts with a rest, a repeat construct cannot be used around the words and \skip
commands have to be inserted manually to skip over the notes in the alternative sections
which do not apply."
So, here is a fuller example of what I've come up with - it actually works
unless there is a line break in the first alternative, then the text overlap
with the lie above the alternative:
\version "2.24.4"
\score {
<<
\new Staff {
\new Voice = "melody" {
\relative {
a'4 a a a
\repeat volta 2 {
b4 b b b
b4 b b b
b4 b b b
b4 b b b
b4 b b b
b4 b b b
b4 b b b
}
\alternative {
{
c4 c c c
c4 c c c
c4 c c c
c4 c c c
}
{ d4 d d d }
}
}
}
}
\new Lyrics {
\lyricsto "melody" {
Not re -- peat -- ed.
<<
{
This is pass one
This is pass one
This is pass one
This is pass one
This is pass one
This is pass one
This is pass one
}
\new Lyrics {
{
This is pass two
This is pass two
This is pass two
This is pass two
This is pass two
This is pass two
This is pass two
}
}
>>
{
Vol -- ta one one
Vol -- ta one two
Vol -- ta one three
Vol -- ta one four
}
{ Vol -- ta two words }
}
}
>>
}
Thanks,
Mats