W3C home > Mailing lists > Public > public-audio@w3.org > October to December 2011

Re: WebAudio feedback and suggestions

From: Jonathan Baudanza <jon@jonb.org>
Date: Wed, 16 Nov 2011 17:48:46 -0800
Message-ID: <CAP26MZv6=-bjnT8hnpY=VO3hHRaNNmY3APVB1=dn+HZ1Fbb6fg@mail.gmail.com>
To: public-audio@w3.org
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:49:57 UTC