|
From: | Malte Meyn |
Subject: | Re: Extract pitch and duration from ly:music |
Date: | Wed, 21 Feb 2018 15:48:01 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
Am 21.02.2018 um 15:46 schrieb Malte Meyn:
Oh, I forgot to say: This doesn’t work with 2.18.2 so you’re partially right.
And again I made a mistake: It *does* work but only if you surround the pitch by ##{ #}
\version "2.18.2"fun = #(define-music-function (parser location note dur) (ly:pitch? ly:duration?)
#{ $note $dur #}) \fun ##{c'#} 4 Sorry for the mess.
[Prev in Thread] | Current Thread | [Next in Thread] |