lilypond-user
[Top][All Lists]
Advanced

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

scheme function containing score {...}


From: Gianmaria Lari
Subject: scheme function containing score {...}
Date: Fri, 24 Nov 2017 17:55:18 +0100

I'm trying to put the score functionality inside a function (consider it a test). Here it is the code:

\version "2.19.80"
myScore = 
#(define (music) (ly:music?) #{
  \score {
    $music
    \layout{}
    \midi{}
   } #} )

\myScore {a b c'}

The code correctly generate a score but it does not generate the midi file. Why???
I'm using Frescobaldi.
Thank you, g.



reply via email to

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