Next: , Previous: Automatic syllable durations, Up: Aligning lyrics to a melody


7.3.3.2 Another way of entering lyrics

Lyrics can also be entered without \addlyrics or \lyricsto. In this case, syllables are entered like notes – but with pitches replaced by text – and the duration of each syllable must be entered explicitly. For example:

play2 the4 game2.
sink2 or4 swim2.

The alignment to a melody can be specified with the associatedVoice property,

\set associatedVoice = #"lala"

The value of the property (here: "lala") should be the name of a Voice context. Without this setting, extender lines will not be formatted properly.

Here is an example demonstrating manual lyric durations,

     
     << \new Voice = "melody" {
         \time 3/4
         c2 e4 g2.
      }
      \new Lyrics \lyricmode {
        \set associatedVoice = #"melody"
        play2 the4 game2.
      } >>

[image of music]

The following example is a comparison of the different commands for entering lyrics:

     
     <<
      \new Voice = "one" \relative c'' {
        \autoBeamOff
        \time 2/4
        c4 b8. a16 g4. f8 e4 d c2
      }
      \new Lyrics \lyricmode { Joy4 to8. the16 world!4. the8 Lord4 is come.2 }
      \new Lyrics \lyricmode { Joy to the earth! the Sa -- viour reigns. }
      \new Lyrics \lyricsto "one" { No more let sins and sor -- rows grow. }
      >>

[image of music]

The second stanza is not properly aligned because the durations were not specified. A solution for that, as shown with the third stanza, would be to use \lyricsto.

See also

Program reference: Lyrics.


Next: , Previous: Automatic syllable durations, Up: Aligning lyrics to a melody

Cette page documente LilyPond-2.11.28 (branche de développement).

Rapporter toute anomalie en français à lilypond-user-fr@gnu.org ou en anglais à http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs

Your suggestions for the documentation are welcome.