lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: \lyricsto vs. \set associatedVoice


From: Mats Bengtsson
Subject: Re: \lyricsto vs. \set associatedVoice
Date: Tue, 13 Jan 2009 10:59:29 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

Sorry to not follow-up this thread earlier!

Bertalan Fodor wrote:
According to my understanding:
If you use lyricsto or associatedVoice you needn't (possibly must not) add duration to syllables. Their purpose is to synchronize the syllable's position to the notes of a voice.
This is not true, as the following simple example shows:
mylyrics = \lyricmode {AA4 BB4 CC1 D2}

\score{
<<
 \new Voice = myvoice \relative c' { c4 d e f g a b c }
 \new Lyrics \lyricsto myvoice \mylyrics
 \new Lyrics \lyricmode {\set associatedVoice = "myvoice" \mylyrics }
 \new Lyrics \mylyrics
>>
}

As you can see, it's only when using \lyricsto (and \addlyrics) that the durations are copied from the notes. If you just set associateVoice, then the durations are still taken from what's specified within the lyrics. However, for the cases where a syllable matches a note head, then the alignment is done in a "clever way" (normally centered below the note head, but left aligned if there's a melisma, for example), whereas if you only specify the durations and don't set the associatedVoice, then there's no clever
alignment of the syllables (they are just left aligned).

   /Mats




reply via email to

[Prev in Thread] Current Thread [Next in Thread]