oampo/Audiolet

ADSREnvelope doesn't allow attack, etc. to be changed at runtime

Closed this issue · 1 comments

ADSREnvelope takes attack, decay, sustain, and release as constructor parameters, but doesn't allow them to be changed with setValue() at runtime, meaning if you want to vary any of those parameters, you must make a new envelope.

Yeah, this should definitely be possible. You can now do something like env.attack.setValue(2). Thanks for the report!