29.11.2012 Views

mpdolce - LilyPond

mpdolce - LilyPond

mpdolce - LilyPond

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2: Tutorial 28<br />

2.3.5 Single staff polyphony<br />

Polyphonic music in lilypond, while not difficult, uses concepts that we haven’t discussed yet, so<br />

we’re not going to introduce them here. Instead, the following sections introduce these concepts<br />

and explain them thoroughly.<br />

See also<br />

Learning Manual: Section 3.2 [Voices contain music], page 44.<br />

Notation Reference: Section “Simultaneous notes” in Notation Reference.<br />

2.4 Songs<br />

This section introduces vocal music and simple song sheets.<br />

2.4.1 Setting simple songs<br />

Music Glossary: Section “lyrics” in Music Glossary.<br />

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

\relative c'' {<br />

\key g \major<br />

\time 6/8<br />

d4 b8 c4 a8 d4 b8 g4<br />

}<br />

� �<br />

� 6 � � �<br />

8 � �<br />

� � �<br />

�<br />

The lyrics can be set to these notes, combining both with the \addlyrics keyword. Lyrics<br />

are entered by separating each syllable with a space.<br />

><br />

�<br />

�<br />

8 6<br />

�<br />

�<br />

�<br />

�<br />

�<br />

�<br />

�<br />

�<br />

Girls and boys come out to play,<br />

�<br />

Note the curly brackets delimiting both the music and the lyrics, and the double angle<br />

brackets > around the whole piece to show that the music and lyrics are to occur at the<br />

same time.<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!