lilypond-user
[Top][All Lists]
Advanced

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

substitution for numerator


From: Stefan Thomas
Subject: substitution for numerator
Date: Sun, 18 Sep 2011 11:01:47 +0200

Dear community,
I've tried to make a substitution for the numerator in scaled durations, but without sucess.
I've tried it with:

numerator = #(define-music-function (parser location x) (number?)
  #{ % in der folgenden Zeile Lilypondcode eingeben
    c1*$x/3
#})
themusic = {
  \numerator #4
}

I assume, that number? is't the right type of variable, am I right?

reply via email to

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