Ok, I’ve been searching for an opcode that will convert a frequency (in hertz) to a midi note number (with fractional values). I know how to do this myself, but I wanted to see if there already is an opcode for this before I write my own.
Opcode to convert cps to midi note numbers
Ok, found it… It’s not like the other pitch converters, but it actually follows the naming used in pure data…
The opcode is ‘ftom’… The reciprocal is ‘mtof’…
1 Like