Re: about numberOfOutputs of RealtimeAnalyserNode

Just thinking here: If a node (any node) has no effect on the audio data,
it would make sense that the node should not have a downstream output, or
need to be connected to the destination to operate.





On Wed, Mar 21, 2012 at 10:44 PM, Wei, James <james.wei@intel.com> wrote:

>  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 ****
>
> ** **
>
> ** **
>



-- 
Alistair MacDonald
SignedOn, Inc - W3C Audio WG
Boston, MA, (707) 701-3730
al@signedon.com - http://signedon.com

Received on Thursday, 22 March 2012 15:00:16 UTC