cancelScheduledValues
Summary
Cancels all scheduled parameter changes with times greater than or equal to startTime.
Method of apis/webaudio/AudioParamapis/webaudio/AudioParam
Syntax
var = AudioParam.cancelScheduledValues(startTime);
Parameters
startTime
- Data-type
- Number
The starting time at and after which any previously scheduled parameter changes will be cancelled. It is a time in the same time coordinate system as AudioContext.currentTime.
Return Value
Returns an object of type
Examples
var gainNode = audioCtx.createGain();
gainNode.gain.cancelScheduledValues(audioCtx.currentTime); //'gain' is the AudioParam
Related specifications
- W3C Web Audio API
- W3C Editor’s Draft