Op zaterdag 27 december 2008, schreef james:
> What exactly is the difference between \lyricsto and \set  
> associatedVoice?

I think \lyricsto is a shorthand for \lyricmode { \set assosiatedVoice ... }

so:

text = \lyricsto "alto" {
  bla bla bla
}

is equivalent to:

text = \lyricmode {
  \set associatedVoice = "alto"
  bla bla bla
}

Both do not explicitly create an Lyrics context, so you still need to create 
one:

\new Lyrics \text

Most times I use \lyricsto and I put the lyricsto in the \score section, like:

soprano = \relative c' {
 c d e f g
}

sopranoText = \lyricmode {
  bla bli ble blo blu
}

\score {
  <<
     \new Staff \new Voice = "mel" \soprano
     \new Lyrics \lyricsto "mel" \sopranoText
  >>
}

best regards,
Wilbert Berendsen

-- 
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/


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

Reply via email to