lilypond-user
[Top][All Lists]
Advanced

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

Re: \lyricsto vs. \set associatedVoice


From: Wilbert Berendsen
Subject: Re: \lyricsto vs. \set associatedVoice
Date: Sun, 28 Dec 2008 20:31:52 +0100
User-agent: KMail/1.10.3 (Linux/2.6.27-7-generic; KDE/4.1.3; i686; ; )

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/




reply via email to

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