nth root?
Hi all,
For equal divisions of the octave into n divisions, the equation is to find the nth root of 2.
Given that I can't find a symbol/funtion for [expr] to take the 'nth root' of something, how do I calculate it?
Any suggestions greatly appreciated.
Thanks,
Steven
[expr pow($f1,1.0/n)] where n is the nth root (because the nth root of n is the same as finding the power of 1/n). That example would ind the nth root of the input. If you want the input to [expr] to be n in finding the nth root of 2, you would use [expr pow(2,1.0/$f1)]
Excellent...I figured it was something so straightforward but I just wasn't getting it...thank you!