27.03.2013 Views

LilyPond Snippets

LilyPond Snippets

LilyPond Snippets

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Rhythms 24<br />

In the example, two triplets are shown, while \times was entered only once.<br />

For more information about make-moment, see "Time administration".<br />

\relative c' {<br />

\time 2/4<br />

\set tupletSpannerDuration = #(ly:make-moment 1 4)<br />

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

}<br />

<br />

4 2<br />

3 3<br />

<br />

Flat flags and beam nibs<br />

Flat flags on lone notes and beam nibs at the ends of beamed figures are both possible with a<br />

combination of stemLeftBeamCount, stemRightBeamCount and paired [] beam indicators.<br />

For right-pointing flat flags on lone notes, use paired [] beam indicators and set<br />

stemLeftBeamCount to zero (see Example 1).<br />

For left-pointing flat flags, set stemRightBeamCount instead (Example 2).<br />

For right-pointing nibs at the end of a run of beamed notes, set stemRightBeamCount<br />

to a positive value. And for left-pointing nibs at the start of a run of beamed notes, set<br />

stemLeftBeamCount instead (Example 3).<br />

Sometimes it may make sense for a lone note surrounded by rests to carry both a left- and<br />

right-pointing flat flag. Do this with paired [] beam indicators alone (Example 4).<br />

(Note that \set stemLeftBeamCount is always equivalent to \once \set. In other words,<br />

the beam count settings are not "sticky", so the pair of flat flags attached to the lone c'16[]<br />

in the last example have nothing to do with the \set two notes prior.)<br />

\score {<br />

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

Saved successfully!

Ooh no, something went wrong!