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

Deprecate AudioParam setter #4

Closed
Korilakkuma opened this issue Mar 24, 2018 · 1 comment
Closed

Deprecate AudioParam setter #4

Korilakkuma opened this issue Mar 24, 2018 · 1 comment
Labels

Comments

@Korilakkuma
Copy link
Owner

Use AudioParam#setValueAtTime method instead of setters.

@Korilakkuma Korilakkuma added this to the v3.0.0 milestone Nov 10, 2021
@Korilakkuma Korilakkuma removed this from the v3.0.0 milestone Feb 9, 2022
@Korilakkuma
Copy link
Owner Author

Setting this attribute has the effect of assigning the requested value to the [[current value]] slot, and calling the setValueAtTime() method with the current AudioContext's currentTime and [[current value]]. Any exceptions that would be thrown by setValueAtTime() will also be thrown by setting this attribute.

https://www.w3.org/TR/webaudio/#AudioParam-attributes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant