lilypond-user
[Top][All Lists]
Advanced

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

Re: Flared hairpin across line break


From: Thomas Morley
Subject: Re: Flared hairpin across line break
Date: Tue, 12 Mar 2019 00:07:11 +0100

Am Mo., 11. März 2019 um 05:52 Uhr schrieb Andrew Bernard
<address@hidden>:
>
> I'd like to have flared hairpins that only flare at the terminating end after 
> a line break.
>
> The following example shows that using the flared hairpin stencil in a simple 
> minded way causes it to flare at the first break, which I want to not have.
>
> Is there some magic that can be done with alter-broken?
>
> Andrew
>
> %======
> \version "2.19.82"
>
> {
>   \time 2/4
>   c''2
>   \once \override Hairpin.stencil = #flared-hairpin
>   c''\<
>   \break
>   c''2 c''\!
> }
>
> %======

Hi Andrew,

using alterBroken leads to

{
    \alterBroken stencil
      #(list
        ly:hairpin::print
        ly:hairpin::print
        (elbowed-hairpin '((0 . 0.3333) (0.95 . 0.4) (1.0 . 1.0)) #t))
      Hairpin
    c'1\< \break c' \break s c'\!
}

Note the 0.3333 value. A continued Hairpin starts with 1/3 height.


alterBroken has some (documented) inconveniences, though ...


Cheers,
  Harm



reply via email to

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