Jump to content

Setting the minimum length of hairpins: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
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">
<<
<<
   {
   {
Line 14: Line 14:
</lilypond>
</lilypond>


[[Category:Expressive marks]]
[[Category:Expressive marks]]
[[Category:Expressive marks]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]

Latest revision as of 14:53, 3 December 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
  }
>>