Calculating cents between two frequencies?
I pretty much want to what the utility at the top of this page does: http://sizes.com/units/cent.htm
There must be an abstraction somewhere, but I can't seem to sniff it out.
Max Patch
Copy patch and select New From Clipboard in Max.
I first thought of a single expr, but this way is kind of fun, too:
Thanks!
cents are linear - you can use [mtof] and [ftom 0.]
Max Patch
Copy patch and select New From Clipboard in Max.
And here is an [expr] version.
Think about it: the difference between 1234 Hz and 2345 Hz is 1111 cents.