Re: limiting channel count through channelCount and channelCountMode limitations, in PannerNode et al.

> On Thu, Aug 22, 2013 at 9:25 PM, Karl Tomlinson wrote:
>
>> looking at [3], I wonder whether a similar situation applies
>> in ScriptProcessorNode?

Ehsan Akhgari writes:

> ScriptProcessorNode, however, doesn't
> suffer from this problem, why would we want to restrict it in any way?

The inputBuffer of an AudioProcessingEvent "will have a number of
channels equal to the numberOfInputChannels parameter of the
createScriptProcessor() method."

It doesn't make sense to change the channelCount on the
ScriptProcessorNode because this will not change the buffer
delivered to in the event.

Perhaps the spec could be extended to make it possible to change
the channel count of the buffers passed to the
AudioProcessingEvent, which is the feature requested in [3], but
that is not currently possible.

>> [3] https://www.w3.org/Bugs/Public/show_bug.cgi?id=17534

Received on Wednesday, 28 August 2013 23:36:17 UTC