Jump to content

Unusual graphical crescendos (cosmetic Hairpin styles): Difference between revisions

From LilyPond wiki
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 15: Line 15:
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Contemporary notation]]
[[Category:Contemporary notation]]
[[Category:Really cool]]
[[Category:Really cool]][[Category:Snippet]]

Revision as of 23:02, 21 November 2025

By overriding the 'style property of the Hairpin object, you can get nice contemporary crescendos and decrescendos.

\version "2.24"

%% http://lsr.di.unimi.it/LSR/Item?id=339

\relative c' {
  \override Hairpin.style = #'trill
  c2\< c\!\mf
  \override Hairpin.style = #'zigzag
  c2\< c\!\mf
}