W3C home > Mailing lists > Public > public-audio@w3.org > October to December 2011

Re: TPAC F2F and Spec Proposals (was: Attendance for the AudioWG F2F meeting on Monday, 31 October)

From: Robert O'Callahan <robert@ocallahan.org>
Date: Mon, 17 Oct 2011 19:00:54 +1300
Message-ID: <CAOp6jLbnS0O2htAUNrgXOBgiWtaPqqn1XZ0wHDAUBeQyGkf3=Q@mail.gmail.com>
To: Alistair MacDonald <al@signedon.com>
Cc: Doug Schepers <schepers@w3.org>, Joe Berkovitz <joe@noteflight.com>, tmichel@w3.org, Philippe Le Hegaret <plh@w3.org>, public-audio@w3.org, mgregan@mozilla.com
On Sun, Oct 16, 2011 at 6:15 PM, Alistair MacDonald <al@signedon.com> wrote:

>  It should integrate seamlessly with other MediaStream producers and
>> consumers, without bridging.
> Could you add some detail to this explaining with/without bridging and why
> it is important?

For example, if you look at example 5 here:
   navigator.getUserMedia('audio', gotAudio);
   function gotAudio(stream) {
     var microphone = context.createMediaStreamSource(stream);
     var backgroundMusic =
     var analyser = context.createAnalyser();
     var mixedOutput = context.createMediaStreamDestination();

The calls to "createMediaStreamSource" and "createMediaStreamDestination"
map MediaStream objects to AudioNode objects and vice versa. They are only
needed because AudioNodes and MediaStreams are separate worlds that need to
be explicitly bridged. That is unnecessary complication for authors,
compared to just supporting audio processing directly on MediaStreams.

"If we claim to be without sin, we deceive ourselves and the truth is not in
us. If we confess our sins, he is faithful and just and will forgive us our
sins and purify us from all unrighteousness. If we claim we have not sinned,
we make him out to be a liar and his word is not in us." [1 John 1:8-10]
Received on Monday, 17 October 2011 06:01:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:49:57 UTC