[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using a scheme function, but with a different name
From: |
Paul Morris |
Subject: |
Re: using a scheme function, but with a different name |
Date: |
Mon, 17 Mar 2014 05:33:22 -0700 (PDT) |
Urs Liska wrote
> Can't try out a solution right now, but generally you'd have to write a
> "IVvR" function that internally calls the old implementation, as an
> alias frontend, so to say.
Something like this should work:
\version "2.18.0"
IVvR = #(define-music-function (parser location ANFANG ENDE ) (number?
number? )
#{ \scaleDurations #(cons (+ 1(- ENDE ANFANG)) 1) {R1 } #})
fourquarterRests = #(define-music-function (parser location ANFANG ENDE )
(number? number? )
#{ \IVvR #ANFANG #ENDE #})
{ \fourquarterRests #2 #4 }
{ \IVvR #2 #4 }
HTH,
-Paul
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/using-a-scheme-function-but-with-a-different-name-tp160506p160510.html
Sent from the User mailing list archive at Nabble.com.