Hi, I need a lil bit of help here.
So I was messing around with Desmos trying to learn a bunch of formula to create different soundwave and somehow ended up trying to make an envelope.
It is an ADSR envelope, but I Intentionally left the decay out.
I want to create a patch that has similar function to this, but I don’t know how to translate it in patch. Especially to create the restriction in spark. And also the colon : part (i don’t know how to call it in english. is it like a compare/ratio or something?).
This is the graph:
[click play animation to each variables to see how each variable behaves/reacts to each other.]
I think it’s going to be a pretty handy tool in our arsenal.
I know that we have keyframe patch, but it can’t process shader generic signal, while this will hopefully can.
this is how the patch would look like:
- Input = x
- Y max = ys
- Attack = xa
- Sustain = xs
- Release = xr
- Output = y
Can someone help me? lets just start with the restriction and the colon thingy or whatever it is called in english math. Thanksss