Jump to content

Setting the minimum length of hairpins: Difference between revisions

From LilyPond wiki
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 1: Line 1:
If hairpins are too short, they can be lengthened by modifying the <code>minimum-length</code> property of the <code>Hairpin</code> object.
If hairpins are too short, they can be lengthened by modifying the <code>minimum-length</code> property of the <code>Hairpin</code> object.


<lilypond version="2.24.0">
<lilypond version="2.24">
<<
<<
   {
   {

Revision as of 18:50, 16 November 2025

If hairpins are too short, they can be lengthened by modifying the minimum-length property of the Hairpin object.

\version "2.24"

<<
  {
    \after 4 \< \after 2 \> \after 2. \! f'1
    \override Hairpin.minimum-length = 8
    \after 4 \< \after 2 \> \after 2. \! f'1
  }
  {
    \repeat unfold 8 c'4
  }
>>