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 3: Fundamental concepts 52<br />

A note column can contain just one note (or chord) from a voice with stems up and one note<br />

(or chord) from a voice with stems down. If notes from two voices which have their stems in the<br />

same direction are placed at the same position and both voices have no shift or the same shift<br />

specified, the error message “Too many clashing note columns” will be produced.<br />

See also<br />

Notation Reference: Section “Multiple voices” in Notation Reference.<br />

3.2.3 Voices and vocals<br />

Vocal music presents a special difficulty: we need to combine two expressions – notes and lyrics.<br />

You have already seen the \addlyrics{} command, which handles simple scores well. However,<br />

this technique is quite limited. For more complex music, you must introduce the lyrics in a<br />

Lyrics context using \new Lyrics and explicitly link the lyrics to the notes with \lyricsto{},<br />

using the name assigned to the Voice.<br />

><br />

�<br />

�<br />

4 � � 2 �<br />

� �� � �<br />

�<br />

No more let sins and sor rows<br />

�<br />

�<br />

�<br />

grow.<br />

Note that the lyrics must be linked to a Voice context, not a Staff context. This is a case<br />

where it is necessary to create Staff and Voice contexts explicitly.<br />

The automatic beaming which <strong>LilyPond</strong> uses by default works well for instrumental music,<br />

but not so well for music with lyrics, where beaming is either not required at all or is used to<br />

indicate melismata in the lyrics. In the example above we use the command \autoBeamOff to<br />

turn off the automatic beaming.<br />

Let us reuse the earlier example from Judas Maccabæus to illustrate this more flexible technique.<br />

We first recast it to use variables so the music and lyrics can be separated from the staff<br />

structure. We also introduce a ChoirStaff bracket. The lyrics themselves must be introduced<br />

with \lyricmode to ensure they are interpreted as lyrics rather than music.<br />

global = { \time 6/8 \partial 8 \key f \major}<br />

SopOneMusic = \relative c'' {<br />

c8 | c([ bes)] a a([ g)] f | f'4. b, | c4.~ c4 }<br />

SopTwoMusic = \relative c' {<br />

r8 | r4. r4 c8 | a'([ g)] f f([ e)] d | e([ d)] c bes' }<br />

SopOneLyrics = \lyricmode {<br />

Let | flee -- cy flocks the | hills a -- dorn, __ }<br />

SopTwoLyrics = \lyricmode {<br />

Let | flee -- cy flocks the | hills a -- dorn, }

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

Saved successfully!

Ooh no, something went wrong!