On 8/21/07, Greg Thompson <greg@rhythmicdesign.com> wrote:
Ok - I'm tired of looking - I've been searching the manual hoping to find a convenient opcode for converting a MIDI note number into a frequency such as

iPitch   notetohz 60

There has to be an existing opcode that handles this type of request?  I'm just lost amongst the large list right?

To do this, I've just been using the following, which is unsightly at best.

I prefer "humble".  It would be pretty easy to write that opcode though.  Almost- not worth it.
-Chuckk

 

iPitch = 8.17579891564 * exp(0.0577622650 * p4)


greg



--
http://www.badmuthahubbard.com