MIDI note number to Frequency (Hertz)

I’ve been playing with sequencing/synthesis inside of TD (trying without Max/Ableton/etc) and couldn’t find a CHOP similar to Max/MSP’s [mtof~] to drive Audio Oscillator CHOP’s frequency parameter. I looked up the formula and formatted it to work in an Expression CHOP. I hope others find this useful:

pow(2,((me.inputVal-69)/12))*440

:nerd:

CutMod, please make a tutorial out of this!
This would be SUPER interesting to explore further :ugeek:

Man that top leather jackets spambot was actually kinda helpful! Weird!

here goes a .tox that does Frequency to MIDI note number, but without the expression. Might be handy for someone :slight_smile:
freqToMIDI.tox (830 Bytes)