- From: Chris Wilson <cwilso@google.com>
- Date: Wed, 23 Jul 2014 13:57:12 -0700
- To: Ray Bellis <ray@bellis.me.uk>
- Cc: "public-audio@w3.org" <public-audio@w3.org>
Received on Wednesday, 23 July 2014 20:57:40 UTC
I'd been toying with the idea of suggesting the idea that "cancelScheduledValues should explicitly set a "previously scheduled parameter value" of the current value, at that time. WDYT? On Wed, Jul 23, 2014 at 6:32 AM, Ray Bellis <ray@bellis.me.uk> wrote: > On 23/07/2014 05:35, Peter van der Noord wrote: > >> You would need to cancelScheduledValues, then setValueAtTime(now, > > param.value); > > > > I don't see how i can do that if i schedule something in the future. Am > > i overlooking something? From what i see now, that hack seems the only > > way to get this to work correctly. > > See the thread entitled "Creating ADSR Envelopes" starting 10th January > 2013. > > Without hacks it appeared that WebAudio's curve generation functions > were (and remain) incapable of scheduling an ADSR EG that can be > re-triggered. > > kind regards, > > Ray > > >
Received on Wednesday, 23 July 2014 20:57:40 UTC