Hello Joseph,

I see, you just came up with your own solution. Just one thought:
transpose is defined as a function with three arguments, pitch A and B
and the music to transpose. I don't know if it is a problem. To avoid it
you might use a function like this one:

transpose = #(define-music-function (parser location a b m)(ly:pitch?
ly:pitch? ly:music?) m)

Cheers, Jan-Peter

Am 04.11.2013 08:49, schrieb Joseph Rushton Wakeling:
> Ahh, of course.  Here's what I came up with -- seems to work:
> 
> transpose = #(define-music-function
>                (parser location arg1 arg2)
>                (ly:music? ly:music?)
>                #{ #}
>              )


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to