-
Notifications
You must be signed in to change notification settings - Fork 167
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
Intrinsic value of AudioParam after disconnection #482
Comments
This is closely related to the issue #318. |
I should just try this out, but as long as the getter for |
@notthetup Note that getting the value from the Exposing the intrinsic value shouldn't be too hard in terms of the implementation, I am not sure if it is really worth it. |
Ah! I meant to say after the oscillator has been disconnected, if the Because then it's easy to query the state of the amp gain and decide if it should be faded out etc. |
@notthetup Ah, yes - I agree with that. Sniffing the intrinsic value is actually useful in this particular scenario. |
Just to clarify, plugging in the node output to an AudioParam object means the addition of the AudioParam value and the incoming audio stream. So when the audio stream stops or disconnects, the result will instantly jump to the intrinsic value of AudioParam.
The verb 'mix' is a bit vague, I think. It actually means the arithmetic addition in the implementation. |
I think we should just change the text here. |
Nothing to do here, since data from connected nodes does not affect the intrinsic value returned by the |
What is the value of
amp.gain
after the disconnection? What would be the right behavior?This is something should be documented in the spec. @rtoy and I talked about this and we prefer to leave the intrinsic value alone. So we change nothing in the implementation, but it is actually better that way.
Falling back to the default value or resetting to the last value set by user will result clicks and clitches.
The text was updated successfully, but these errors were encountered: