Skip to content

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

Closed
realh opened this issue Dec 8, 2018 · 4 comments · Fixed by #1807
Closed

Specification is incomplete for AudioNode.connect() #1797

realh opened this issue Dec 8, 2018 · 4 comments · Fixed by #1807
Assignees

Comments

@realh
Copy link

realh commented Dec 8, 2018

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.

@realh
Copy link
Author

realh commented Dec 8, 2018

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()?

@rtoy
Copy link
Member

rtoy commented Dec 8, 2018

Yes, we should make it easier to find these things. I'm leaving this bug open (and not a feature request) for further review.

@mdjp
Copy link
Member

mdjp commented Dec 11, 2018

Resolve to add a link to section 5 as suggested.

@hoch hoch removed the Untriaged label Dec 11, 2018
@mdjp mdjp self-assigned this Dec 11, 2018
padenot added a commit to padenot/web-audio-api that referenced this issue Jan 11, 2019
@padenot padenot self-assigned this Jan 11, 2019
padenot added a commit to padenot/web-audio-api that referenced this issue Jan 11, 2019
padenot added a commit to padenot/web-audio-api that referenced this issue Jan 11, 2019
rtoy pushed a commit to rtoy/web-audio-api that referenced this issue Jan 17, 2019
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

Successfully merging a pull request may close this issue.

5 participants