[midiin] > [dial] > [number] > [cycle~]> [dac~]

…gives me this, but only up to 127. How do I convert the incoming midi numerical info so that 127 equals whatever I decide the upper frequency of the cycle~ should be?

]]>Of course, you can also do it by simple mathematical calculations. Divide your midi number by 127. (giving you values from 0. to 1.), then multiply it with your desired upper frequency. For example:

[dial] > [/ 127.] > [* 5000.] > [cycle~]

Of course, one thing you need to accept with any of these methods is that you won’t be able to leave behind the “grid” of 7 bit resolution of the midi value. Even if you spread the values to range from 0 Hz to 10000 Hz, there will still be 128 distinct steps and not a continuous glissando, if you move your dial.

]]>