|
From: | Jan-Peter Voigt |
Subject: | Re: Format LilyMusic as string |
Date: | Thu, 24 May 2018 17:44:32 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
ah, and you don't need o #{#}: lilystring = #(define-scheme-function (mus)(ly:music?) (with-output-to-string (lambda () (displayLilyMusic mus)) )) test = \lilystring \relative { c'4 } #(display test) Am 24.05.2018 um 17:42 schrieb Jan-Peter Voigt:
lilystring = #(define-scheme-function (mus)(ly:music?) (with-output-to-string (lambda () #{ \displayLilyMusic #mus #}) )) test = \lilystring \relative { c'4 } #(display test)
[Prev in Thread] | Current Thread | [Next in Thread] |