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
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user