- From: Jonathan Baudanza <jon@jonb.org>
- Date: Wed, 16 Nov 2011 17:48:46 -0800
- To: public-audio@w3.org
Received on Thursday, 17 November 2011 01:49:22 UTC
On Wed, Nov 16, 2011 at 5:34 PM, Joseph Berkovitz <joe@noteflight.com>wrote: > Jon, > > There is a middle ground between scheduling all your nodes, and having a > 100 ms timeout. > > What I've done so far in my web audio synth code is to set a timeout at a > longer interval (I think mine was 1 s), and schedule a larger number of > nodes a longer distance into the future. This makes it much less likely > that a callback delay will affect playback. In essence you are keeping the > scheduler "topped up" so it always has a fair number of nodes to play back. > > That might mitigate some of the need for this feature although I see the > value of it. > > Thanks Joe. I think I'll probably end up with an approach like this.
Received on Thursday, 17 November 2011 01:49:22 UTC