Exponent curve for signal

IvnOs's icon

Hi.
Well problem is really simple, but low knowledge of MSP dictionary making me a trouble.

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

I've attached a simple example of what i want to get. As you understand if i want to make a more round curve, i should use more multipliers, but it can become difficult when number of them will become higher.
I know that MSP have [curve~] object, but as i understood it works only like [line~] object, generating curve by trigger.
Well, to tell simply, i want to know is there any objects or abstractions wich can make what i've attched in more simple way?

Christopher Dobrian's icon

pow~ or scale~ are two objects that come immediately to mind.

IvnOs's icon

Good idea, but it's to hard to calculate scaling range.
Or maybe i don't understand well, how to connect them?

Peter McCulloch's icon

scale~ input_low input_high output_low output_high exponent

scale~ 0. 1. 0. 1. 3. will do the same thing as the original patch when connected to phasor~.