AudioParam: cancelAndHoldAtTime() method
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
ThecancelAndHoldAtTime() method of theAudioParam interface cancels all scheduled future changes to theAudioParam but holds its value at a given time until further changes aremade using other methods.
In this article
Syntax
js
cancelAndHoldAtTime(cancelTime)Parameters
cancelTimeA double representing the time (in seconds) after the
AudioContextwasfirst created after which all scheduled changes will be cancelled.
Return value
A reference to theAudioParam it was called on.
Specifications
| Specification |
|---|
| Web Audio API> # dom-audioparam-cancelandholdattime> |