Am 30.09.26 um 12:41 schrieb David Kastrup:
\after expects a duration, and IIUC we only have convenient arithmetic
for lengths, unfortunately. But one could do:
\version "2.26"
dur =
#(define-scheme-function (mus) (ly:music?)
(make-duration-of-length (ly:music-length mus)))
{
\after \dur { 2. 16 } <>->
\*16 c16
}
Soon playing in the theatre of your choice:
https://gitlab.com/lilypond/lilypond/-/merge_requests/3158
... which will then enable us to simply write
\version "2.26"
{
\after { 2. 16 } <>->
\*16 c16
}
Very nice, thanks much!
Lukas