Re: Having some problems with envelopes

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 13:32:27 UTC