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 408<br />

}<br />

\clef alto<br />

e2 d<br />

c1<br />

\bar "|."<br />

cello = \new Voice \relative c' {<br />

\set Staff.instrumentName = #"Cello "<br />

\clef bass<br />

}<br />

c2 b<br />

a1<br />

\bar "|."<br />

\score {<br />

\new StaffGroup <br />

\new Staff ><br />

\new Staff ><br />

\new Staff ><br />

>><br />

\layout { }<br />

\midi { }<br />

}<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 />

<br />

<br />

String quartet template with separate parts<br />

The "String quartet template" snippet produces a nice string quartet, but what if you needed<br />

to print parts? This new template demonstrates how to use the \tag feature to easily split a<br />

piece into individual parts.<br />

You need to split this template into separate files; the filenames are contained in comments<br />

at the beginning of each file. piece.ly contains all the music definitions. The other files –<br />

score.ly, vn1.ly, vn2.ly, vla.ly, and vlc.ly – produce the appropriate part.

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

Saved successfully!

Ooh no, something went wrong!