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

Re: Recording into an AudioBuffer?

From: Nick Thompson <ncthom91@gmail.com>
Date: Sun, 24 Feb 2013 12:55:04 -0500
Message-ID: <CAOXEKCO6Wx2VQVpw4qk-ZiBV9MvD+QuCfJ0veGzr0u5pVm7WEg@mail.gmail.com>
To: Patrick Borgeat <patrick.borgeat@gmail.com>
Cc: public-audio-dev@w3.org
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!


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:43:28 UTC