Exponent curve for signal

Sep 27, 2013 at 6:21am

Exponent curve for signal

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>

#266433
Sep 27, 2013 at 7:04am

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

#266439
Sep 30, 2013 at 9:20am

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

#266641
Sep 30, 2013 at 11:36am

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

#266656

You must be logged in to reply to this topic.