Using the techniques currently available in LilyPond, Erik's example
is easily implemented as:
foo = #(define-music-function (parser location x y) (ly:music? ly:music?)
#{
c8 $x d8 $y #})
{ \foo e16 { f g }}
As you see, you don't really need any Scheme competence to do it.
I question that. I think it looks easy to you because you already know
how it all works and fits together. I do agree that adding some more
examples to the manual would help greatly.
Geoff
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user