27.03.2013 Views

LilyPond Snippets

LilyPond Snippets

LilyPond Snippets

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.

Templates 411<br />

Violin 1<br />

Violin 2<br />

Viola<br />

Cello<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Vocal ensemble template with automatic piano reduction<br />

This template adds an automatic piano reduction to the standard SATB vocal score demonstrated<br />

in "Vocal ensemble template". This demonstrates one of the strengths of <strong>LilyPond</strong> –<br />

you can use a music definition more than once. If any changes are made to the vocal notes (say,<br />

tenorMusic), then the changes will also apply to the piano reduction.<br />

global = {<br />

\key c \major<br />

\time 4/4<br />

}<br />

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

c4 c c8[( b)] c4<br />

}<br />

sopWords = \lyricmode {<br />

hi hi hi hi<br />

}<br />

altoMusic = \relative c' {<br />

e4 f d e<br />

}<br />

altoWords =\lyricmode {<br />

ha ha ha ha<br />

}<br />

tenorMusic = \relative c' {<br />

g4 a f g<br />

}<br />

tenorWords = \lyricmode {<br />

hu hu hu hu<br />

}<br />

bassMusic = \relative c {<br />

c4 c g c<br />

}<br />

bassWords = \lyricmode {<br />

ho ho ho ho<br />

}<br />

\score {<br />

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

Saved successfully!

Ooh no, something went wrong!