On Sat 15 May 2021 at 21:40:53 (-0700), Aaron Hill wrote: > On 2021-05-15 9:07 pm, Kaj Persson wrote: > > [...] > > \addlyrics and \lyricsto are related constructs that both create > LyricCombineMusic. This is what allows you to enter lyric syllables > without specifying durations, where the durations are inferred by an > associated Voice. Note that in this special mode and only this mode, > \skip durations are ignored. So it is the count of \skips that > matter. > > When you are entering lyrics outside LyricCombineMusic, you must > specify durations manually lest they be assumed given the most > recently specified duration.
AIUI the Rule that "a note or lyric with no explicit duration is
given the duration of the previous one" still applies. It's just
that the durations of the lyrics mean something.
> In this case, \skip carries its normal
> meaning where the duration matters.
But it needs pointing out the durations specified with \skips
are very different from the rest, and don't interact with them:
. \skip durations must be explicitly specified,
. \skip durations play no part in the Rule above: application
of the Rule skips the \skips as if not there (see modification
to your example below).
(Perhaps that Rule needs a name.)
> It should be noted that \setting associatedVoice has no effect outside
> of LyricCombineMusic.
I'm not sure how you get lyric extenders without \set associatedVoice.
They also avoid having to split all the lyrics that cross barlines,
whether terminal syllables (with extenders, shown) or just hyphenated
(cf Completion_heads_engraver).
There are also some more subtle effects that I've noticed, but never
looked at in detail. I've concatenated the two example PDFs so that
it's more straightforward to compare the two scores' output.
> Here is an example demonstrating the difference between using
> \lyricsto and manual durations:
[ … ]
Replacing
\skip 4 | j2 k4 \skip 2.*2 | l4 m2 | n2.
by
\skip 4 | j2 k4 \skip 2.*2 | l m2 | n2.
nicely illustrates how the skip's 2. duration is ignored by
the Rule, so that l copies its duration from k.
Cheers,
David.
\paper { #(set-paper-size "a6") }
\new Staff <<
\new Voice = vvv {
\relative {
c' d e f~
f g a b
}
}
\new Lyrics \lyricmode {
The f has tie __ _ ov -- er barline
}
>>
\new Staff <<
\new Voice = vvv {
\relative {
c' d e f~
f g a b
}
}
\new Lyrics \lyricmode {
\set associatedVoice = vvv
The f has tie __ _ ov -- er barline
}
>>
\new Staff <<
\new Voice = vvv {
\relative {
c' d e f~
f g a b
}
}
\new Lyrics \lyricmode {
The f has tie2 __ ov4 -- er barline
}
>>
\new Staff <<
\new Voice = vvv {
\relative {
c' d e f~
f g a b
}
}
\new Lyrics \lyricmode {
\set associatedVoice = vvv
The f has tie2 __ ov4 -- er barline
}
>>
extenders.pdf
Description: Adobe PDF document
\paper {
#(set-paper-size "a6landscape")
line-width = 120
ragged-right = ##f
}
<<
\new Staff <<
\new Voice = vvvb {
\relative {
c' d4. e8 f4
f g4.. a16 b4
}
}
\new Lyrics \lyricmode {
%% \set associatedVoice = vvvb
abcd abcd4. abcd8 abcd4 abcd abcd4.. abcd16 abcd4
}
>>
\new Staff <<
\new Voice = vvvc {
\relative {
c' d e f
f g a b
}
}
\new Lyrics \lyricmode {
%% \set associatedVoice = vvvc
abcd abcd abcd abcd abcd abcd abcd abcd
}
>>
>>
\paper {
#(set-paper-size "a6landscape")
line-width = 120
ragged-right = ##f
}
<<
\new Staff <<
\new Voice = vvvb {
\relative {
c' d4. e8 f4
f g4.. a16 b4
}
}
\new Lyrics \lyricmode {
\set associatedVoice = vvvb
abcd abcd4. abcd8 abcd4 abcd abcd4.. abcd16 abcd4
}
>>
\new Staff <<
\new Voice = vvvc {
\relative {
c' d e f
f g a b
}
}
\new Lyrics \lyricmode {
\set associatedVoice = vvvc
abcd abcd abcd abcd abcd abcd abcd abcd
}
>>
>>
subtle.pdf
Description: Adobe PDF document
