RE: about numberOfOutputs of RealtimeAnalyserNode

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 UTC