09.09.2013 Views

LilyPond Beginnershandleiding

LilyPond Beginnershandleiding

LilyPond Beginnershandleiding

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Appendix A: Templates 149<br />

}<br />

\layout {<br />

\context {<br />

\GrandStaff<br />

\accepts "Lyrics"<br />

}<br />

\context {<br />

\Lyrics<br />

\consists "Bar_engraver"<br />

}<br />

}<br />

\midi { }<br />

<br />

<br />

Aaa Bee Cee Dee<br />

<br />

A.3 String quartet templates<br />

A.3.1 String quartet<br />

<br />

<br />

<br />

<br />

This template demonstrates a simple string quartet. It also uses a \global section for time and<br />

key signatures<br />

global= {<br />

\time 4/4<br />

\key c \major<br />

}<br />

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

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

}<br />

c2 d<br />

e1<br />

\bar "|."<br />

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

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

}<br />

g2 f<br />

e1<br />

\bar "|."<br />

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

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

\clef alto

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

Saved successfully!

Ooh no, something went wrong!