|
From: | Gianmaria Lari |
Subject: | Re: scheme score function |
Date: | Tue, 12 Dec 2017 07:05:41 +0100 |
I created a simple scheme function with a single argument that works similarly to the score command:\version "2.19.80"mySc = #(define-scheme-function (music) (ly:music?)#{\score {$music\layout{}}#})\mySc {a b c'}This works as expected. But when I modify it to generates two scores, one layout and one midi, I have a compilation error.\version "2.19.80"mySc = #(define-scheme-function (music) (ly:music?)#{\score {$music\layout{}}\score {$music\midi{}}#})\mySc {a b c'}What's the problem and how can I fix it?Thank you, g.
[Prev in Thread] | Current Thread | [Next in Thread] |