I'm trying to modify envelope's time while the envelope is playing, but it doesn't changes until it stops and shoots again.
Is there any way to do this easily?
I'm trying to do a .noteOff() and .noteOn() with the new times when my decay potentiometer moves whiel envelope it's running but it get's complicated, trying to calculate elapsed time since it shot and remaining time.
It's not working for me at the moment.
Any ideas?