![]() |
GNU LilyPond-- -- |
||||||||||
|
More stanzasIf you have multiple stanzas printed underneath each other, the vertical groups of syllables should be aligned around punctuation. LilyPond can do this if you tell it which lyric lines belong to which melody. We show how you can do this by showing how you could print a frivolous fragment of a fictional Sesame Street duet. \score { \addlyrics \notes \relative c'' \context Voice = duet { \time 3/4 g2 e4 a2 f4 g2. } \lyrics \context Lyrics < \context LyricsVoice = "duet-1" { \property LyricsVoice . stanza = "Bert" Hi, my name is bert. } \context LyricsVoice = "duet-2" { \property LyricsVoice . stanza = "Ernie" Ooooo, ch\'e -- ri, je t'aime. } > } To this end, give the Voice context an identity, and set the
LyricsVoice to a name starting with that identity followed by a dash.
In the following example, the Voice identity is \context Voice = duet { \time 3/4 g2 e4 a2 f4 g2. }and the identities of the LyricsVoices are duet-1 and duet-2 .
\context LyricsVoice = "duet-1" { Hi, my name is bert. } \context LyricsVoice = "duet-2" { Ooooo, ch\'e -- ri, je t'aime. } We add the names of the singers. This can be done by setting
\property LyricsVoice . stanza = "Bert" ... \property LyricsVoice . stanza = "Ernie" The convention for naming |
||||||||||
Go back to index of LilyPond.
Please send GNU LilyPond questions and comments to lilypond-user@gnu.org. Please send comments on these web pages to (address unknown) Copyright (c) 1997--2002 Han-Wen Nienhuys and Jan Nieuwenhuizen. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. |
This page was built from LilyPond-1.7.14 (development-branch) by