[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

\add-score and \bookOutputName

From: Gianmaria Lari
Subject: \add-score and \bookOutputName
Date: Tue, 18 Dec 2018 15:14:30 +0100

This is just an example. 
I would like that my scheme function "test " generates a midi file with the name I passed to it.
This is what I have been able to do. It compiles but it does not work:

\version "2.19.82"
test = #(define-void-function (music filename) (ly:music? string?)
       \book { 
         \bookOutputName $filename
         \score $music     
       } #} ) )

\test {a b} "MyFile"

Any mistakes? Thank you, g.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]