lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flared hairpin flare


From: Aaron Hill
Subject: Re: Flared hairpin flare
Date: Sun, 17 Nov 2019 18:32:17 -0800
User-agent: Roundcube Webmail/1.3.8

On 2019-11-17 6:20 pm, Andrew Bernard wrote:
How can I obtain a sharper flare, closer to the left had end of the
hairpin, with longish hairpins, as below?

I have code to do very elaborate segmented hairpins with precisely
specified flares and so on, but I am hoping there is a simple way to
achieve this sort of adjustment.

Andrew

%====

\version "2.19.83"

flaredHairpin = {
  \once \override Hairpin.height = #1
  \once \override Hairpin.stencil = #flared-hairpin
}
{
  \flaredHairpin
  c''4^\> \repeat unfold 18 { c'' } c''\!
}

%====

Both flared-hairpin and constant-hairpin use the underlying elbowed-hairpin function (output-lib.scm:1201). Try playing around with its parameters, and I suspect you'll find something suitable. Then you can just define your own version to use:

%%%%
#(define my-hairpin (elbowed-hairpin '((0 . 0) (0.98 . 0.4) (1 . 1)) #t))
%%%%


-- Aaron Hill



reply via email to

[Prev in Thread] Current Thread [Next in Thread]