lilypond-user
[Top][All Lists]
Advanced

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

Re: Flat flared hairpins


From: Malte Meyn
Subject: Re: Flat flared hairpins
Date: Mon, 31 Dec 2018 09:38:46 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0



Am 31.12.18 um 09:03 schrieb Andrew Bernard:
Hi Malte,

This is good. And thank you. But I need control over the flares over a line break. I really don't know what to do.

I suppose this has to be coded in Scheme. I know Scheme well, but I don't understand this level of seemingly undocumented internal machinery, the whole business of broken objects.

Andrew

Hm … I thought Hairpins were done in Scheme completely and simple-hairpin using elbowed-hairpin was the default stencil. The default stencil makes two different hairpins at linebreaks (the first doesn’t grow to full height, the second starts with a gap):

{
  <>\< \repeat unfold 8 c'8 \break
  \repeat unfold 8 c'8
  1\< <>\!
}

But I was wrong,

#(define simple-hairpin
   (elbowed-hairpin '((0 . 0)(1.0 . 1.0)) #t))

is *not* the default and prints two similar hairpins at a break:

{
  \override Hairpin.stencil = #(elbowed-hairpin '((0 . 0)(1.0 . 1.0)) #t)
  <>\< \repeat unfold 8 c'8 \break
  \repeat unfold 8 c'8
  1\< <>\!
}

So all the linebreak cleverness seems to be done at C++ level …



reply via email to

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