Schedule arbitrary callback at future time

Hi all, this is my first time posting to the group, please let me know if I
am breaking any etiquette.  I'm very excited to see the webaudio api
shaping up!

I think I have seen this brought up before but I want to throw my vote in
for a way to schedule callbacks to fire at a future time.  I am in the
process of building a synthesizer/loop recorder and I need to do things
like start recording audio at a specific time in the future.  Currently I
am using a javascript node's onaudioprocess  callback (as per suggested her
in the past) to get close enough but the granularity is based on the buffer
length and it is not exact. It would be really handy to bind a callback to
be fired in the future just like you can with an oscillators .start().  You
can see a prototype of what I'm talking about here
http://grooveclock.com/synth.html

tl;dr - +1 for arbitrary callbacks scheduled at a future time

-- 
Thanks,
Josh Nielsen
@joshontheweb <http://twitter.com/joshontheweb>
joshontheweb.com

Received on Tuesday, 7 May 2013 20:19:37 UTC