exponential growth of a number

Minas Kapetanidis's icon

hi guys..i want to achieve the exponential growth of a number like the picture...i tried curve~ instead of line~ but i see no change...is some kind of mathematical expression?

Capture.png
png
brendan mccloskey's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Hi
if you included an example patch we could rectify that for you. In the meantime have a tinker with these equations:

And also download Gregory's patch from here, for hours of happy easing:
https://cycling74.com/forums/easing-and-tweening-how-to-make-a-tulip/

Brendan

Minas Kapetanidis's icon

Thank you brendan..i think is an equation but i cant find the right one..here is an example. I want to change the volume of the song exponentially in 4 seconds

example.maxpat
Max Patch
brendan mccloskey's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Hi minas
did you look at my example patch; or the helpfile for [curve~]. Unlike [line~], that object expects start/destination/curve values:

Brendan

Minas Kapetanidis's icon

Yeah brendan thank you! i looked both of them but i still cant find how to achieve this growth.Maybe i am bad in maths :P

brendan mccloskey's icon

Hi
if you are referring to the image you first posted, then linear input (x) gives curved output (y), there are many different curving functions but the simplest approximation of the curve you illustrate is
y = 1.0 - (sin(x * PI)), passed through a power function

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

just like this:

I am also "bad at maths", but I play with other people's equations until I get the results I want ;)
Brendan