Exponential Scaling of slider

kmll's icon

Hi. I am using a slider [live.slider] and I want the output to be exponential'ish. I.e from bottom of the slider to the middle position I want to output values from 0 to 1000 and from the middle position to the top I want to output values from 1000 to 15000. Any suggestion on how I can accomplish this?

Mark Durham's icon

The exponent parameter in the live.slider inspector ; )

metamax's icon

An exponent of 4 in live.slider... but keep in mind, if you are between 0. and 1., you can use always use a power function to ease into it. Then you can scale the output to whatever range you want. That way you can ramp values from any source - flonum, multislider, etc. not to mention you are also free to customize the function to create more complex motion.

Max Patch
Copy patch and select New From Clipboard in Max.

kmll's icon

Brilliant!:) Thank you Mark Durham for pointing me to the live.slider setting and thank you METAMAX for the very useful example patch!