Gain~ number of steps ?
hi
i'm using a mackie control to, er.., control my max patch. i have a 14 bit value coming from the faders but when i send this to a gain~ object, and set the corresponding number of steps to 16368, the processor really jumps into the red and the gain~ doesn't seem to behave properly. is this something to do with the exponential scaling ?
what is the usable step range with gain~ ?
i tried a second solution which was simply to scale the range from 0 and 16368 to 0. and 1. , then use a *~. but scale won't output an exponentially scaled value
can anyone explain what i'm missing here ?
this might be useful: https://cycling74.com/docs/max5/tutorials/max-tut/midichapter03.html
from reading that tutorial, i suspect there is also some inaccuracy -- 14 bit messages have a range of 0 to 16383.
your second solution might benefit from using [atodb] object to convert linear values to an exponential gain curve.
hth, j