W3C home > Mailing lists > Public > public-audio@w3.org > April to June 2012

Re: Suggestion: Web Audio graphs that does not output sound but can write to an AudioBuffer instead

From: Raymond Toy <rtoy@google.com>
Date: Fri, 13 Apr 2012 13:27:12 -0700
Message-ID: <CAE3TgXESegi5QmajTwNrxVzGTEWYQz9EWP+wMMCftRxW3igY-w@mail.gmail.com>
To: Per Nyblom <perny843@hotmail.com>
Cc: public-audio@w3.org
On Fri, Apr 13, 2012 at 1:47 AM, Per Nyblom <perny843@hotmail.com> wrote:

>  Hello,
>
> it would be great to be able to access the generated sound data without
> having to send it to the speakers as well.
> This feature is very useful for a musical application that should render a
> wav-file or similar (perhaps with the help of the FileSystem API). Most
> existing musical applications support this "offline" rendering mode.
>

James Wei has mentioned offline audio contexts.  I don't think it's
documented anywhere, but you can look
here<http://trac.webkit.org/browser/trunk/LayoutTests/webaudio/audiobuffersource-playbackrate.html>
for
a fairly simple example of an offline audio context that saves the Audio
graph output to a wav file.

Ray
Received on Friday, 13 April 2012 20:27:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 13 April 2012 20:27:44 GMT