Setting the minimum length of a fall/doit: Difference between revisions
Appearance
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 |
No edit summary |
||
| Line 18: | Line 18: | ||
[[Category:Expressive marks]] | [[Category:Expressive marks]] | ||
[[Category:Tweaks and overrides]] | [[Category:Tweaks and overrides]][[Category:Snippet]] | ||
Revision as of 22:59, 21 November 2025
Sometimes the spacing is too tight, so that a fall or doit looks almost vertical. The solution is to specify a minimum length for the fall/doit, but only setting the minimum-length property (which you can do on hairpins and slurs, for example) does not work, since you also need a suitable setting for the springs-and-rods property. This example shows how to do it.
\version "2.24"
%% http://lsr.di.unimi.it/LSR/Item?id=899
noteFix = {
\once \override BendAfter.springs-and-rods = #ly:spanner::set-spacing-rods
\once \override BendAfter.minimum-length = #5
}
\relative c' {
f2.~ f8
\noteFix
f-\bendAfter #-4 |
r2 r8 c d f |
}