- From: Alistair MacDonald <al@signedon.com>
- Date: Tue, 27 Mar 2012 13:26:36 -0400
- To: Patrick Borgeat <patrick@borgeat.de>
- Cc: public-audio@w3.org
Received on Tuesday, 27 March 2012 17:27:09 UTC
Hi Patrick, I have been thinking about your use-case over the last day or so and have a further question. Did you want to: A) Fire a callback, once, at an exact time? B) Fire the same callback many times? Al On Mon, Mar 26, 2012 at 1:35 PM, Patrick Borgeat <patrick@borgeat.de> wrote: > yes, precisely! > > Patrick > > > Am 26.03.2012 um 19:03 schrieb Alistair MacDonald: > > Thanks Patrick, I think I follow what you're saying. > > So in JavaScript, something like.... > > AudioParam.setFunctionAtTime( callback, time ); > > > Then in the callback... > > var callback = function( buffer, time ){ > // iterate channels/buffers > // update buffer > }; > > > Does that look like what you had in mind? > > > -- Alistair MacDonald SignedOn, Inc - W3C Audio WG Boston, MA, (707) 701-3730 al@signedon.com - http://signedon.com
Received on Tuesday, 27 March 2012 17:27:09 UTC