Hi list,

I have an issue with \set associatedVoice, namely it appears that there is a 
problem with initializing it. I have created a small example (see below) to 
show my problem.

Stanza 1 is what I want it to look like and for stanzas 2-5 I would have 
expected the same result (2 and 3 are identical except for the enclosing 
<<...>> instead of {...})

Is my understanding of what \set associatedVoice does flawed or is this a bug?

Kind regards,
Michael

===== start =====
\version "2.19.82"

\paper {
  ragged-right = ##f
}

musicOne = \repeat unfold 2 { c''8 4 4 4 8~ }
musicTwo = \repeat unfold 2 { c'4 4 4 4 }

one = \set associatedVoice = "one"
two = \set associatedVoice = "two"

verse = \lyricmode { both \repeat unfold 8 { \one one \two two } }
verseb = \lyricmode { both \repeat unfold 8 { one two } }

\score {
    \new Staff <<
      \new Voice = "one" { \voiceOne \musicOne }
      \new Voice = "two" { \voiceTwo \musicTwo }
    >>
    \addlyrics { \set stanza = "1." \verseb }
    \addlyrics { \set stanza = "2." \verse }
}

\score {
  <<
    \new Staff <<
      \new Voice = "one" { \voiceOne \musicOne }
      \new Voice = "two" { \voiceTwo \musicTwo }
    >>
    \addlyrics { \set stanza = "3." \verse }
    \new Lyrics \lyricsto "one" { \lyricmode { \set stanza = "4." } \verse }
    \new Lyrics \lyricsto "two" { \lyricmode { \set stanza = "5." } \verse }
  >>
}
===== end =====


-- 
Michael Gerdau email: m...@qata.de
GPG-keys available on request or at public keyserver

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to