Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

Comments

@rjmarsan
Copy link

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 closed this as completed in e5c32eb Apr 27, 2012
@oampo
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants