Forums > MaxMSP

Exponent curve for signal

September 27, 2013 | 6:21 am

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

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?
<code>

– Pasted Max Patch, click to expand. –

</code>


September 27, 2013 | 7:04 am

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


September 30, 2013 | 9:20 am

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


September 30, 2013 | 11:36 am

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~.


Viewing 4 posts - 1 through 4 (of 4 total)