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: Chris Rogers <crogers@google.com>
Date: Fri, 13 Apr 2012 13:46:38 -0700
Message-ID: <CA+EzO0kb5-hWDnuNTWeGLthStipQdB9MPsUwRFEy1UxJrDy+Aw@mail.gmail.com>
To: Raymond Toy <rtoy@google.com>
Cc: Per Nyblom <perny843@hotmail.com>, public-audio@w3.org
On Fri, Apr 13, 2012 at 1:27 PM, Raymond Toy <rtoy@google.com> wrote:

> 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

Gentle warning:
Please don't use this API for offline AudioContexts until we have it in the
Web Audio specification.  This is an un-documented API and will likely
change soon!

Received on Friday, 13 April 2012 20:47:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:04 UTC