W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2013

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

From: Karl Tomlinson <karlt+public-audio@karlt.net>
Date: Thu, 29 Aug 2013 11:35:04 +1200
To: Ehsan Akhgari <ehsan.akhgari@gmail.com>
Cc: public-audio@w3.org
Message-ID: <87sixtbd93.fsf@karlt.net>
> 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:23 UTC