Attack cannot be adjusted for an exponentially growing curve
First design of a sigmoid function here
Integrated into ADSR model: https://www.desmos.com/calculator/b2h2rrvvif
Open questions:
- How to shorten
x_anow :/
Edit:
Now that I think about it, I remember how I constructed the model. Having the values run towards (1,1) is just a way to make sure the model looks pretty on desmos. But in reality, the script anyways calculates until (1, 1) has been passed (and then enters into next phase, which is decay) or stops prematurely because the player has lifted their finger from the key.
So indeed, the sigmoid function above should be implementable. Ideally with a nice draggable button. Maybe we can provide rails for the user to drag the button. Was thinking of something along the lines of: https://www.desmos.com/calculator/wwggmfktmw
Front end lib under construction: https://github.com/TimDaub/html5-wavetable
Front end lib under construction: https://github.com/TimDaub/html5-wavetable
I stepped back from this idea. Question is: Can such a curve as outlined in
Integrated into ADSR model: https://www.desmos.com/calculator/b2h2rrvvif
be built using SVGs? Or is there a rewrite of the ADSR graph necessary?