[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Making two functions into one
From: |
David Kastrup |
Subject: |
Re: Making two functions into one |
Date: |
Mon, 16 Jan 2023 15:54:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Valentin Petzel <valentin@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
Re: Making two functions into one, David Kastrup, 2023/01/16
Re: Making two functions into one, Jean Abou Samra, 2023/01/16