Valentin Petzel <valen...@petzel.at> writes: > Hello, > > not sure about that one, but this seems to work: > > \version "2.24.0" > > nd = #(define-music-function (number) (integer?) > #{ > #(time (cons number 8)) > s8 * $number > #})
LilyPond syntax expressions, like in #{ ... #}, attach origin information automatically. If you want things to happen automatically, Scheme is not the way to go... -- David Kastrup