Next: , Up: Songs


2.4.1 Setting simple songs

Music Glossary: lyrics.

Here is the start of the melody to a nursery rhyme, Girls and boys come out to play:

     
     \relative c'' {
       \key g \major
       \time 6/8
       d4 b8 c4 a8 d4 b8 g4
     }

[image of music]

The lyrics can be set to these notes, combining both with the \addlyrics keyword. Lyrics are entered by separating each syllable with a space.

     
     <<
       \relative c'' {
         \key g \major
         \time 6/8
         d4 b8 c4 a8 d4 b8 g4
       }
       \addlyrics {
         Girls and boys come out to play,
       }
     >>

[image of music]

Note the curly brackets delimiting both the music and the lyrics, and the double angle brackets << ... >> around the whole piece to show that the music and lyrics are to occur at the same time.

This page is for LilyPond-2.11.58 (development-branch).

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.

Your suggestions for the documentation are welcome.

Other languages: français, español, deutsch.