W3C home > Mailing lists > Public > public-media-capture@w3.org > August 2014

Re: Extending MediaRecorder to record from Web Audio node faster than real time?

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 28 Aug 2014 14:10:37 +1200
Message-ID: <CAOp6jLby8R9s_KZfmihFXcXbSiLKPZafbPC3nBOzdBNGyYGMxw@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: "public-media-capture@w3.org" <public-media-capture@w3.org>
On Thu, Aug 28, 2014 at 1:49 PM, Robert O'Callahan <robert@ocallahan.org>

> With the above "definition", ChannelSplitterNode is not a problem; the
> 0'th output (the first channel) of audioNode gets recorded and the others
> are ignored. We'd just need to say that in the spec.

Let me clarify that:

"new MediaRecorder(audioNode)" records the first output of audioNode (where
"output" is defined in the Web Audio spec).

For those unfamiliar with Web Audio: currently only ChannelSplitterNode has
more than one output. Each output can have any number of channels.

BTW AudioDestinationNode has 0 outputs so I think if someone creates a
MediaRecorder for that node we should just throw an exception.
Alternatively we could change the Web Audio spec so it actually has an
output (the mix of its inputs). I actually prefer the latter since it's
more DWIM; I'll post to public-audio.

oIo otoeololo oyooouo otohoaoto oaonoyooonoeo owohooo oioso oaonogoroyo
owoiotoho oao oboroootohoeoro oooro osoiosotoeoro owoiololo oboeo
osouobojoeocoto otooo ojouodogomoeonoto.o oAogoaoiono,o oaonoyooonoeo
osoaoyoso otooo oao oboroootohoeoro oooro osoiosotoeoro,o o‘oRoaocoao,o’o
oaonosowoeoroaoboloeo otooo otohoeo ocooouoroto.o oAonodo oaonoyooonoeo
osoaoyoso,o o‘oYooouo ofooooolo!o’o owoiololo oboeo oiono odoaonogoeoro
otohoeo ofoioroeo ooofo ohoeololo.
Received on Thursday, 28 August 2014 02:11:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:29 UTC