W3C home > Mailing lists > Public > public-audio@w3.org > January to March 2012

RE: about numberOfOutputs of RealtimeAnalyserNode

From: Wei, James <james.wei@intel.com>
Date: Thu, 22 Mar 2012 02:44:49 +0000
To: "Wei, James" <james.wei@intel.com>, "public-audio@w3.org" <public-audio@w3.org>
Message-ID: <668CBE60026FE04AB5523C7C3CCB00F80708CD@SHSMSX101.ccr.corp.intel.com>
The idea behind it is that It will be good that some inspector Node like RealtimeAnalyserNode can pull without connect to downstream node which ultimately connect to an audio destination.

Currently we have to connect RealtimeAnalyserNode to a GainNode with gain as 0 and then connect to destination to analyze the stream and avoid to impact the audio playing.

Another potential solution is to add multiple destination support in Web Audio API and add a mock destination for the inspector purpose and this destination is synced with the real destination.

Best Regards

James


From: Wei, James [mailto:james.wei@intel.com]
Sent: Thursday, March 22, 2012 10:10 AM
To: public-audio@w3.org
Subject: about numberOfOutputs of RealtimeAnalyserNode

In the latest WD of Web Audio API, it has a note for the numberOfOutputs of RealtimeAnalyserNode.

I would like to raise it in the mailing list so more people can have a look at it.

4.17. The RealtimeAnalyserNode Interface
This interface represents a node which is able to provide real-time frequency and time-domain analysis information. The audio stream will be passed un-processed from input to output.

    numberOfInputs  : 1
    numberOfOutputs : 1    Note: it has been suggested to have no outputs here - waiting for people's opinions

Detailed information can refer to https://bugs.webkit.org/show_bug.cgi?id=77515

Best Regards

James
Received on Thursday, 22 March 2012 02:45:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 22 March 2012 02:45:20 GMT