On 03/11/13 17:44, Urs Liska wrote:
But you should be able to define a music function that simply prints the music
it is passed. Use parameters for the two pitches and ignore them.
Can't try out because I'm on the phone, but you should be able to go that way.

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?)
               #{ #}
             )

transposition = #(define-music-function
                   (parser location arg)
                   (ly:music?)
                   #{ #}
                 )


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

Reply via email to