lilypond-user
[Top][All Lists]
Advanced

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

Re: Globally disable transposition


From: Jan-Peter Voigt
Subject: Re: Globally disable transposition
Date: Mon, 04 Nov 2013 08:57:41 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

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




reply via email to

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