Re: Having some problems with envelopes

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