|
|
GNU LilyPondWelcome to the home of the GNU Music Typesetter |
||||||||||
|
Node:Automatic syllable durations, Next:More stanzas, Previous:Printing lyrics, Up:Lyrics Automatic syllable durationsIf you have lyrics that are set to a melody, you can copy the rhythm
of that melody into the lyrics using \addlyrics musicexpr1 musicexpr2 Both musicexpr1 and musicexpr2 are interpreted, but every music event ("every syllable") in musicexpr2 is interpreted only when there are events in musicexpr1. If the property \addlyrics
\transpose c'' {
\property Voice.automaticMelismata = ##t
c8 () cis d8. e16 f2
}
\context Lyrics \lyrics {
do4 re mi fa }
If you want the lyric lines to be above the melody staff, or in some
other, more complex configuration, then build that configuration first
using simultaneous music, and use \notes <
\context Lyrics = LA { s1 }
\context Staff = SA { s1 }
\addlyrics
\context Staff = SA \relative c' { c4 e g g }
\context Lyrics = LA \lyrics { geen ge -- don -- der } >
For \addlyrics
\transpose c'' {
c8 () cis d8. e16 f2
}
\context Lyrics \lyrics
< { do4 re fa sol }
{ do8 re fa sol } >
It is valid (but probably not very useful) to use notes instead of lyrics for musicexpr2. |
||||||||||
|
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 lilypond@packages.debian.org Copyright (c) 1997--2001 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.4.12 (stable-branch) by