Talk:Moving the ends of hairpins: Difference between revisions
Add topicAppearance
Latest comment: 8 January by Manuela in topic Scheme function for shortening hairpins
→Scheme function for shortening hairpins: new section |
m corrected typo |
||
| Line 22: | Line 22: | ||
\break | \break | ||
c1_\markup "lengthen right 10" | c1_\markup "lengthen right 10" | ||
\shorten-hairpin-right #- | \shorten-hairpin-right #-10 | ||
c4\< c2 c4\! | c4\< c2 c4\! | ||
} | } | ||
</lilypond> [[User:Manuela|Manuela]] ([[User talk:Manuela|talk]]) 17:56, 8 January 2026 (UTC) | </lilypond> [[User:Manuela|Manuela]] ([[User talk:Manuela|talk]]) 17:56, 8 January 2026 (UTC) | ||
Latest revision as of 17:57, 8 January 2026
Scheme function for shortening hairpins
[edit source]If you need more often to move the end of the hairpins, you can create a scheme-funcion using quasiquote
\version "2.25.31"
shorten-hairpin-right =
#(define-scheme-function (rechts) (number?)
#{
\once \override Hairpin.shorten-pair = #`(0 . ,rechts)
#})
\paper {
indent = 0
}
\relative {
\omit Staff.TimeSignature
c''1_\markup "default" c4\< c2 c4\!
\break
c1_\markup "shorten right 10"
\shorten-hairpin-right #10
c4\< c2 c4\!
\break
c1_\markup "lengthen right 10"
\shorten-hairpin-right #-10
c4\< c2 c4\!
}