- From: Robert O'Callahan <robert@ocallahan.org>
- Date: Fri, 18 Jan 2013 14:41:53 +1300
- To: Chris Rogers <crogers@google.com>
- Cc: public-audio@w3.org
- Message-ID: <CAOp6jLYKFQvnzF8nJZqcdJHu+fL_BHXpuUnHnAXG3ee2O9Q_0A@mail.gmail.com>
On Fri, Jan 18, 2013 at 8:11 AM, Chris Rogers <crogers@google.com> wrote: > It's true that the behavior is tricky if the input(s) are changing > dynamically, so the developer would have to be careful to account for it. > But, I believe it's well-defined. I think in the vast majority of useful > cases, the inputs would be static in their channels and thus would present > a stable output. Yes, which is why I thought maybe eliminating the possibility of dynamic channel changes would be a reasonable thing to do. To answer your question about what happens if input 0 has nothing connected > to it, it just doesn't influence the output at all and is skipped. > What if it has a GainNode connected to it, but the GainNode has no nodes connect to its input? Logically it seems to me that wouldn't influence the ChannelMerger output either. In that case we are basically saying that the output of a node can be zero channels ... is that accurate? If so, do all nodes (other than SourceNodes) produce zero-channel output when they have no inputs connected? This all of course needs to be in the spec :-). Actually I think the issues are even broader than ChannelMergerNode, since the number of channels a node is producing can be observed by its effects on upmixing with other nodes. I think that means we need to specify how many channels of output are produced by nodes at each point in time. For example, if we have an AudioBufferSourceNode whose buffer has 6 channels, and we call start(10) on it, then before time 10 is it producing 6 channels of silence or zero channels? Rob -- Jesus called them together and said, “You know that the rulers of the Gentiles lord it over them, and their high officials exercise authority over them. Not so with you. Instead, whoever wants to become great among you must be your servant, and whoever wants to be first must be your slave — just as the Son of Man did not come to be served, but to serve, and to give his life as a ransom for many.” [Matthew 20:25-28]
Received on Friday, 18 January 2013 01:42:25 UTC