as far as I get this, in layman's terms, the Peak modifier transforms an incoming stepped curve (actually not sure about the terms here
is there a modifier that already does this or can i use the expression modifier to modify the Peak modifier to do this? i tried coming up with an expression, but i am too stupid
i tried -x+1, which kinda does what i want in terms of rising and descent, but not exactly, because now when the incoming value is 1, the outputted value is 0 and vice versa. i also tried if(x>0, -x+1, 0) to keep the 0 input as a 0 output, but it's not working. i also tried if(x==0, 0, -x+1) to no avail. am i using this wrong? i have the peak modifier first and then the expression modifier. even though the peak seems to send a 0, upon activating the expression modifier, it sends a 1 even though i told it if x==0 do 0, no?
what i want to do with it is this: press a button on my midi controller, this lets an object scale up slowly, until i release the midi button, which let's the object instantly (or smoothly thanks to the smooth modifier) pop back to it's original size.
i hope this is understandable. thaanks