09.09.2013 Views

LilyPond Beginnershandleiding

LilyPond Beginnershandleiding

LilyPond Beginnershandleiding

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix A: Templates 167<br />

A.5 Orchestral templates<br />

A.5.1 Orchestra, choir and piano<br />

O come let us sing | unto the | Lord : let<br />

us heartily rejoice in the | strength of | our<br />

sal | vation.<br />

8. Today if ye will hear his voice *<br />

harden not your hearts : as in the provocation<br />

* and as in the day of tempt- <br />

-ation in the wilderness.<br />

This template demonstrates the use of nested StaffGroup and GrandStaff contexts to subgroup<br />

instruments of the same type together, and a way to use \transpose so that variables<br />

hold music for transposing instruments at concert pitch.<br />

#(set-global-staff-size 17)<br />

\paper {<br />

indent = 3.0\cm % space for instrumentName<br />

short-indent = 1.5\cm % space for shortInstrumentName<br />

}<br />

fluteMusic = \relative c' { \key g \major g'1 b }<br />

% Pitches as written on a manuscript for Clarinet in A<br />

% are transposed to concert pitch.<br />

clarinetMusic = \transpose c' a<br />

\relative c'' { \key bes \major bes1 d }<br />

trumpetMusic = \relative c { \key g \major g''1 b }<br />

% Key signature is often omitted for horns<br />

hornMusic = \transpose c' f<br />

\relative c { d'1 fis }<br />

percussionMusic = \relative c { \key g \major g1 b }<br />

sopranoMusic = \relative c'' { \key g \major g'1 b }<br />

sopranoLyrics = \lyricmode { Lyr -- ics }<br />

altoIMusic = \relative c' { \key g \major g'1 b }<br />

altoIIMusic = \relative c' { \key g \major g'1 b }<br />

altoILyrics = \sopranoLyrics<br />

altoIILyrics = \lyricmode { Ah -- ah }<br />

tenorMusic = \relative c' { \clef "treble_8" \key g \major g1 b }<br />

tenorLyrics = \sopranoLyrics<br />

pianoRHMusic = \relative c { \key g \major g''1 b }<br />

pianoLHMusic = \relative c { \clef bass \key g \major g1 b }<br />

violinIMusic = \relative c' { \key g \major g'1 b }<br />

violinIIMusic = \relative c' { \key g \major g'1 b }<br />

violaMusic = \relative c { \clef alto \key g \major g'1 b }<br />

celloMusic = \relative c { \clef bass \key g \major g1 b }<br />

bassMusic = \relative c { \clef "bass_8" \key g \major g,1 b }<br />

\score {<br />

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

Saved successfully!

Ooh no, something went wrong!