27.03.2013 Views

in Snippets - LilyPond

in Snippets - LilyPond

in Snippets - LilyPond

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

3<br />

<br />

8 +2<br />

<br />

<br />

8 +2<br />

8 +3<br />

8 +2<br />

8 +2<br />

8 +2<br />

8 +2<br />

8 +3<br />

8 +2<br />

8 +2 <br />

8 <br />

<br />

<br />

Bb Sop. <br />

2<br />

4<br />

6<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Drums<br />

25<br />

<br />

<br />

8 <br />

<br />

<br />

<br />

<br />

<br />

<br />

Mak<strong>in</strong>g an object <strong>in</strong>visible with the ’transparent property<br />

Sett<strong>in</strong>g the transparent property will cause an object to be pr<strong>in</strong>ted <strong>in</strong> “<strong>in</strong>visible <strong>in</strong>k”: the<br />

object is not pr<strong>in</strong>ted, but all its other behavior is reta<strong>in</strong>ed. The object still takes up space, it<br />

takes part <strong>in</strong> collisions, and slurs, ties and beams can be attached to it.<br />

This snippet demonstrates how to connect different voices us<strong>in</strong>g ties. Normally, ties only<br />

connect two notes <strong>in</strong> the same voice. By <strong>in</strong>troduc<strong>in</strong>g a tie <strong>in</strong> a different voice, and blank<strong>in</strong>g the<br />

first up-stem <strong>in</strong> that voice, the tie appears to cross voices.<br />

\relative c'' {<br />

\time 2/4<br />

><br />

}<br />

<br />

<br />

4 <br />

Mak<strong>in</strong>g slurs with complex dash structure<br />

Slurs can be made with complex dash patterns by def<strong>in</strong><strong>in</strong>g the dash-def<strong>in</strong>ition property.<br />

dash-def<strong>in</strong>ition is a list of dash-elements. A dash-element is a list of parameters def<strong>in</strong><strong>in</strong>g<br />

the dash behavior for a segment of the slur.<br />

The slur is def<strong>in</strong>ed <strong>in</strong> terms of the bezier parameter t which ranges from 0 at the left<br />

end of the slur to 1 at the right end of the slur. dash-element is a list (start-t stop-t

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

Saved successfully!

Ooh no, something went wrong!