Re: Recording into an AudioBuffer?

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 18:01:27 UTC