10.04.2013 Views

in Snippets - LilyPond

in Snippets - LilyPond

in Snippets - LilyPond

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

}<br />

\normalPos<br />

R1<br />

}<br />

\\<br />

{<br />

c'1<br />

R1<br />

c'1<br />

\normalPos<br />

R1<br />

}<br />

>><br />

<br />

<br />

<br />

<br />

Modify<strong>in</strong>g tuplet bracket length<br />

Tuplet brackets can be made to run to prefatory matter or the next note. Default tuplet brackets<br />

end at the right edge of the f<strong>in</strong>al note of the tuplet; full-length tuplet brackets extend farther to<br />

the right, either to cover all the non-rhythmic notation up to the follow<strong>in</strong>g note, or to cover only<br />

the whitespace before the next item of notation, be that a clef, time signature, key signature, or<br />

another note. The example shows how to switch tuplets to full length mode and how to modify<br />

what material they cover.<br />

\new RhythmicStaff {<br />

% Set tuplets to be extendable...<br />

\set tupletFullLength = ##t<br />

% ...to cover all items up to the next note<br />

\set tupletFullLengthNote = ##t<br />

\time 2/4<br />

\times 2/3 { c4 c c }<br />

% ...or to cover just whitespace<br />

\set tupletFullLengthNote = ##f<br />

\time 4/4<br />

\times 4/5 { c4 c1 }<br />

\time 3/4<br />

c2.<br />

}<br />

4 2<br />

3<br />

<br />

5<br />

4 3<br />

<br />

Mov<strong>in</strong>g dotted notes <strong>in</strong> polyphony<br />

When a dotted note <strong>in</strong> the upper voice is moved to avoid a collision with a note <strong>in</strong> another voice,<br />

the default is to move the upper note to the right. This behaviour can be over-ridden by us<strong>in</strong>g<br />

the prefer-dotted-right property of NoteCollision.<br />

\new Staff \relative c'

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

Saved successfully!

Ooh no, something went wrong!