lilypond-user
[Top][All Lists]
Advanced

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

Re: Chord glissTweak padding


From: David Kastrup
Subject: Re: Chord glissTweak padding
Date: Mon, 02 Nov 2020 23:35:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Aaron Hill <lilypond@hillvisions.com> writes:

> On 2020-11-02 12:18 pm, Aaron Hill wrote:
>>   #{ \once \override Glissando.after-line-breaking = #proc
>>      <>\glissando #})
>
> You can even simplify that expression using \tweak:
>
>   #{ <>-\tweak after-line-breaking #proc \glissando #}
>
> Not sure if \tweak is cheaper than \once \override.

The bulk of the price of \tweak is prepaid due to the cost of the
Tweak_engraver being mostly independent of actual use.

The significant advantage of \tweak is that its effect is constrained to
the construct in question rather than the timestep in question.  That
makes unexpected side effects much less likely.

-- 
David Kastrup



reply via email to

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