-
Notifications
You must be signed in to change notification settings - Fork 169
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
AudioParam.linearRampToValueAtTime #341
Comments
(emphasis mine). If there is no previous event (and keep in mind that setting the value directly is not an event), then we can't interpolate, so we return the previous value. |
The part about "setting the value directly is not an event" is the part On Mon, Jun 23, 2014 at 7:37 AM, Paul ADENOT [email protected]
|
I agree. There are 2 distinct usage scenarios. You can use value property I expected setting the value directly to be treated implicitly as The problem with audio programming (in general) is that it is difficult to On 23 June 2014 17:28, Chris Wilson [email protected] wrote:
|
This is a duplicate of #128. |
I just ran into this exact issue now. I appreciate your guys' explanation of the problem - and would love the docs to make this explicit. What's further confusing is the following exmple seen on the official MDN docs which exhibits the above bug: docs: https://developer.mozilla.org/en-US/docs/Web/API/AudioParam.linearRampToValueAtTime |
I am currently writing tests for the specification and have found linearRampToValueAtTime does not match my understanding of my spec.
If you do:
then Chrome and Firefox both then there is no change until 1 second - when it jumps instantaniously from 0 to 1.
However,
then you get a smooth ramp between 0 and 1.
https://github.com/pendragon-andyh/WebAudio-Testing/blob/master/webaudio/the-audio-api/the-audioparam-interface/method-linearRampToValueAtTime.html
@chrislo recommended that I clarify here whether you feel this is a bug or if the specification needs to be amended.
The text was updated successfully, but these errors were encountered: