lilypond-user
[Top][All Lists]
Advanced

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

Re: Globally disable transposition


From: Joseph Rushton Wakeling
Subject: Re: Globally disable transposition
Date: Mon, 04 Nov 2013 08:49:53 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

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




reply via email to

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