Once Again: Scale Pot values...

Hi,

*argh* one of my pots gives values from 58 to 92. How do I scale that to 0…127 using the function snippets given in the examples section (all values dec.)?

I have had success with another pot that gives values from 0 to 99 which I could scale to 0…127, by giving values from 0 (min) to a1 (max) for the two parameters of the scale code example.

Thx for any hint,

Crypto.

Hi,

take a look at:

http://www.midibox.org/forum/index.php/topic,11805.0.html