-
Notifications
You must be signed in to change notification settings - Fork 167
Specification is incomplete for AudioNode.connect() #1797
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
Comments
This is described in https://www.w3.org/TR/webaudio/#channel-up-mixing-and-down-mixing and also referenced in https://www.w3.org/TR/webaudio/#computednumberofchannels |
Thanks for the quick answer, that's really helped me out. Perhaps you could change this to a feature request for adding a link to section 5 in the documentation for AudioNode.connect()? |
Yes, we should make it easier to find these things. I'm leaving this bug open (and not a feature request) for further review. |
Resolve to add a link to section 5 as suggested. |
Describe the issue
The spec is explicit about what happens if you connect the same output to multiple different inputs or the same output to the same input multiple times, but it doesn't say what happens if you try to connect multiple different outputs to the same input.
Where Is It
https://www.w3.org/TR/webaudio/#dom-audionode-connect
Additional Information
I would like to know if this could provide a simple way to mix multiple stereo signals into one stereo destination. Otherwise it doesn't seem possible to perform such a simple function in WebAudio without a potentially complex chain of splitters, mergers and gain nodes, or by using a custom processor, where the API is currently in an awkward state of transition from ScriptProcessorNode to AudioWorkletNode.
The text was updated successfully, but these errors were encountered: