[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Functions with after-events
From: |
Leo Correia de Verdier |
Subject: |
Functions with after-events |
Date: |
Wed, 2 Oct 2019 11:16:59 +0200 |
Dear list!
Something of a still learning question, but I can’t really get my head around
it:
Is there a simple way to make the following (or something that would have the
same effect) into a function?
\version "2.19.82"
\fixed c'' {
d8
-\tweak minimum-length #5
-\tweak springs-and-rods #ly:spanner::set-spacing-rods
\glissando
cis }
So it could be written as something like the following hypothetical code:
d8 \glissandoWithMinLength #5 cis
Or is it just too complicated to be worth it?
Thanks a lot!
/Leo
- Functions with after-events,
Leo Correia de Verdier <=