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

Closed
rjmarsan opened this Issue Apr 26, 2012 · 1 comment

Projects

None yet

2 participants

@rjmarsan

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.

@oampo oampo added a commit that closed this issue Apr 27, 2012
@oampo Make envelope parameters into proper AudioletParameters so they can b…
…e modified using setValue. Fixes #31.
e5c32eb
@oampo oampo closed this in e5c32eb Apr 27, 2012
@oampo
Owner
oampo commented Apr 27, 2012

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment