[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why do lyric extenders require an associated voice?
From: |
Caagr98 |
Subject: |
Re: Why do lyric extenders require an associated voice? |
Date: |
Fri, 16 Feb 2018 10:59:29 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
Okay, that makes some amount of sense (but not much). But why doesn't it give a
warning or anything? And I still don't know why extenders need an associated
voice in the first place.
On 02/16/18 10:49, Torsten Hämmerle wrote:
> Hi,
>
> As soon as associatedVoice has been set to /anything/, LilyPond will pick
> the next best voice it can find.
>
> The actual value assigned to associatedVoice is only important if there are
> multiple voices present to choose from.
> Let me illustrate that with an amended example taken from the documentation:
>
> ~~~
> \version "2.18.2"
>
> \score {
> <<
> \new Staff <<
> \new Voice = "melodyOne" {
> \relative {
> \voiceOne
> a'4 a a a
> \repeat volta 2 { b4 b b b( | c b a b) }
> }
> }
> \new Voice = "melodyTwo" {
> \relative {
> \voiceTwo
> a'4 a a a
> \repeat volta 2 { b4 b b b( | c b2.) }
> }
> }
> >>
> \new Lyrics \lyricsto "melodyOne" {
> Not re -- peat -- ed.
> <<
> { The first time words. __ }
> \new Lyrics {
> \set associatedVoice = "bogus"
> Sec -- ond time words. __
> }
> \new Lyrics {
> \set associatedVoice = "melodyTwo"
> The third time words. __
> }
> >>
> }
> >>
> }
>
> As you can see, the "Second time words" align with melodyOne (the first to
> come in case of bogus assignment), but "The third time words" align with
> melodyTwo.
>
> HTH,
> Torsten
>
>
>
>
> --
> Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>