Changing beam knee gap: Difference between revisions
Appearance
m New category Tags: Mobile edit Mobile web edit |
mNo edit summary |
||
| Line 1: | Line 1: | ||
Kneed beams are inserted automatically when a large gap is detected between the note heads. This behavior can be tuned through the <code>auto-knee-gap</code> property. A kneed beam is drawn if the gap is larger than the value of <code>auto-knee-gap</code> plus the width of the beam object (which depends on the duration of the notes and the slope of the beam). By default <code>auto-knee-gap</code> is set to 5.5 staff spaces. | Kneed beams are inserted automatically when a large gap is detected between the note heads. This behavior can be tuned through the <code>auto-knee-gap</code> property. A kneed beam is drawn if the gap is larger than the value of <code>auto-knee-gap</code> plus the width of the beam object (which depends on the duration of the notes and the slope of the beam). By default, <code>auto-knee-gap</code> is set to 5.5 staff spaces. | ||
<lilypond version="2.24"> | <lilypond version="2.24"> | ||
{ | { | ||
f8 f''8 f8 f''8 | f8 f''8 f8 f''8 | ||
\override Beam.auto-knee-gap = 6 | \override Beam.auto-knee-gap = #6 | ||
f8 f''8 f8 f''8 | f8 f''8 f8 f''8 | ||
} | } | ||
</lilypond> | </lilypond> | ||
[[Category:Rhythms]] | |||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | [[Category:Snippet]] | ||
Latest revision as of 05:11, 8 December 2025
Kneed beams are inserted automatically when a large gap is detected between the note heads. This behavior can be tuned through the auto-knee-gap property. A kneed beam is drawn if the gap is larger than the value of auto-knee-gap plus the width of the beam object (which depends on the duration of the notes and the slope of the beam). By default, auto-knee-gap is set to 5.5 staff spaces.
\version "2.24"
{
f8 f''8 f8 f''8
\override Beam.auto-knee-gap = #6
f8 f''8 f8 f''8
}