Re: \add-score and \bookOutputName

2018-12-18 Thread David Kastrup
Gianmaria Lari writes: > Ok, tried to substitute "add-score" with "print-book-with-defaults" but I > didn't see any midi file in the default folder. But > print-book-with-defaults works for midi output? > This is the code I tried: > > \version "2.19.82" > test = #(define-void-function (music file

Re: \add-score and \bookOutputName

2018-12-18 Thread Gianmaria Lari
On Tue, 18 Dec 2018 at 16:23, David Kastrup wrote: > Gianmaria Lari writes: > > > 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: > > > >

Re: \add-score and \bookOutputName

2018-12-18 Thread David Kastrup
Gianmaria Lari writes: > 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) (

\add-score and \bookOutputName

2018-12-18 Thread Gianmaria Lari
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?) #(add-score