Making slurs with complex dash structure: Difference between revisions
Import snippet from LSR |
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
||
| Line 3: | Line 3: | ||
The slur is defined in terms of the bezier parameter t which ranges from 0 at the left end of the slur to 1 at the right end of the slur. <code>dash-element</code> is a list <code>(start-t stop-t dash-fraction dash-period)</code>. The region of the slur from <code>start-t</code> to <code>stop-t</code> will have a fraction <code>dash-fraction</code> of each <code>dash-period</code> black. <code>dash-period</code> is defined in terms of staff spaces. <code>dash-fraction</code> is set to 1 for a solid slur. | The slur is defined in terms of the bezier parameter t which ranges from 0 at the left end of the slur to 1 at the right end of the slur. <code>dash-element</code> is a list <code>(start-t stop-t dash-fraction dash-period)</code>. The region of the slur from <code>start-t</code> to <code>stop-t</code> will have a fraction <code>dash-fraction</code> of each <code>dash-period</code> black. <code>dash-period</code> is defined in terms of staff spaces. <code>dash-fraction</code> is set to 1 for a solid slur. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
\relative c' { | \relative c' { | ||
\once \override | \once \override | ||