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.

Rhythms 27<br />

}<br />

\new Voice = "melody" {<br />

\relative c'' {<br />

c2 e4 e4<br />

f2. r4<br />

g2. a4<br />

e4 c2.<br />

}<br />

}<br />

\new Lyrics {<br />

\lyricsto "melody" {<br />

This is my song.<br />

I like to sing.<br />

}<br />

}<br />

>><br />

<br />

<br />

C<br />

X O O<br />

32<br />

1<br />

<br />

<br />

<br />

<br />

<br />

This is<br />

my<br />

F<br />

13<br />

42<br />

11<br />

song.<br />

21<br />

G<br />

O O O<br />

I<br />

3<br />

like<br />

Heavily customized polymetric time signatures<br />

X<br />

C<br />

O O<br />

32<br />

1<br />

to sing.<br />

Though the polymetric time signature shown was not the most essential item here, it has been<br />

included to show the beat of this piece (which is the template of a real Balkan song!).<br />

#(define plus (markup #:vcenter "+"))<br />

#(define ((custom-time-signature one two three four five six<br />

seven eight nine ten eleven num) grob)<br />

(grob-interpret-markup grob<br />

(markup #:override '(baseline-skip . 0) #:number<br />

(#:line (<br />

(#:column (one num)) plus<br />

(#:column (two num)) plus<br />

(#:column (three num)) plus<br />

(#:column (four num)) plus<br />

(#:column (five num)) plus<br />

(#:column (six num)) plus<br />

(#:column (seven num)) plus<br />

(#:column (eight num)) plus<br />

(#:column (nine num)) plus<br />

(#:column (ten num)) plus<br />

(#:column (eleven num)))))))

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

Saved successfully!

Ooh no, something went wrong!