i haven't been following this thread too closely but regarding these last few emails
all you need is [expr].
[expr pow(2, $f1/12)] -> for ratiometrically determining frequency difference between each interval in equal temperament --> typical input in range -12 to 12 (deviation in half steps)
[expr (440.0*exp(log(2.0)*(($f1)-69.0)/12.0))] -> convert midi note numbers to Hz --> typical input in range 0 to 127 (midi note number, lol)
./d5
On Mar 30, 2006, at 9:41 PM, Hans-Christoph Steiner wrote:
Is there an object for computing twelfth root, or anything root of two? For determining frequency difference between each interval in any tempered scale, I guess it could be useful.
[pow 0.0833333] for 12th root.
[sqrt]
Maybe [expr]?