W3C home > Mailing lists > Public > public-audio-dev@w3.org > February 2013

Re: Recording into an AudioBuffer?

From: Chris Wilson <cwilso@google.com>
Date: Sun, 24 Feb 2013 11:16:20 -0800
Message-ID: <CAJK2wqX2k6CtVVBdYjLh3-Gzgm=7+=gyyscJXdeY2pci8STKkw@mail.gmail.com>
To: Nick Thompson <ncthom91@gmail.com>
Cc: public-audio-dev@w3.org, Patrick Borgeat <patrick.borgeat@gmail.com>
+1 for Recorderjs.  There's no way to do this without a ScriptProcessorNode
right now, unless you use an offlinecontext.
On Feb 24, 2013 10:01 AM, "Nick Thompson" <ncthom91@gmail.com> wrote:

> Hey Patrick,
>
> Check out Matt Diamond's Recorder.js
> https://github.com/mattdiamond/Recorderjs. Underneath, it does use a
> ScriptProcessor node, but off the top of my head I can't think of a way to
> accomplish what you're looking for without a ScriptProcessor.
>
> Hope it helps!
>
> Best,
> Nick
>
>
> On Sun, Feb 24, 2013 at 11:47 AM, Patrick Borgeat <
> patrick.borgeat@gmail.com> wrote:
>
>> Hi there,
>>
>> I'm wondering if there is a way to record audio into an AudioBuffer,
>> something like a AudioBufferDestinationNode. I thought I saw something like
>> that somewhere but can't find it.
>>
>> More precisely I look for a way to record the last n seconds into memory
>> and have random access on it, playing parts of it (so a simple Delay
>> doesn't do the job). I suppose something like that could be constructed
>> with a AudioBufferDestinationNode which has a loop attribute too, but maybe
>> there is another way I can't think of at the moment (besides a
>> ScriptProcessorNode).
>>
>> Anyone has a good idea for that?
>>
>> cheers,
>> Patrick
>>
>
>
Received on Sunday, 24 February 2013 19:16:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 24 February 2013 19:16:50 GMT