- From: Kumar <srikumarks@gmail.com>
- Date: Tue, 4 Jan 2011 21:22:58 +0800
- To: Joe Turner <joe@oampo.co.uk>
- Cc: public-xg-audio@w3.org
- Message-ID: <AANLkTik3oh5c_j6uH5LWeHzT+sSHEe+H_TzQ6Edk2VSo@mail.gmail.com>
Though the spec doesn't seem to say anything about this,
one output to multiple inputs ("fan-out") does seem to be
supported in the current implementation. ... and disconnect()
disconnects *all* inputs the indexed output is connected to.
Given this, a "disconnect one connection" method could
indeed be a useful api addition.
-Kumar
On Tue, Jan 4, 2011 at 7:30 PM, Joe Turner <joe@oampo.co.uk> wrote:
> Just a quick bit of clarification about the Web Audio API
> specification. Is it possible to connect an output of an AudioNode to
> more than one input? The AudioNode disconnect function implies that
> this is not allowed, as you cannot specify which input to disconnect
> from.
>
> If you can't connect a single output to multiple inputs, is it
> possible to do something like http://orphans.pastebin.com/B46RnrXg,
> where a single source is run through different effects and then these
> are mixed again at a destination.
>
> If you are allowed to connect to multiple outputs, then it seems to me
> that it would make sense for the disconnect function to take a
> destination and input argument, similar to the connect function.
> Cheers,
> Joe
>
>
Received on Tuesday, 4 January 2011 13:27:45 UTC