|
From: | Alexandre Araujo Moreira |
Subject: | Re: Generate pdf from scheme function |
Date: | Sun, 17 Mar 2013 23:46:29 -0300 |
\score { \simpleMusic { c1 } }Alexandre Araujo Moreira <address@hidden> writes:
> \version "2.16.2"
> simpleMusic =
> #(define-scheme-function (parser location melody) (ly:music?)
> #{
> \score {
> $melody
> \layout {}
> }
> #})
> \simpleMusic { c1 }
>
> Is there anyway I can write something similar to simpleMusic (in
> usage), where it'll automatically generate the pdf given the notes?
\version "2.16.2"
simpleMusic =
#(define-scheme-function (parser location melody) (ly:music?)
#{
\score {
$melody
\layout {}
}
#})
Probably more verbose than you care for, but at least you can get midi
and layout blocks in which is more than you can do using a music
function.
--
David Kastrup
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
[Prev in Thread] | Current Thread | [Next in Thread] |