The cancelAndHoldAtTime()
property of the AudioParam
interface cancels all scheduled future changes to the AudioParam
but holds its value at a given time until further changes are made using other methods.
Syntax
var audioParam = AudioParam.cancelAndHoldAtTime(cancelTime)
Parameters
- cancelTime
- A double representing the time (in seconds) after the
AudioContext
was first created after which all scheduled changes will be cancelled.
Return value
A reference to the AudioParam
it was called on.
Specifications
Specification | Status | Comment |
Web Audio APIThe definition of 'cancelAndHoldAtTime()' in that specification. | Working Draft | Initial definition. |
Browser Compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
cancelAndHoldAtTime
|
Chrome
Full support 57 |
Edge
Full support ≤79 |
Firefox
No support No |
IE
No support No |
Opera
Full support 44 |
Safari
No support No |
WebView Android
Full support 57 |
Chrome Android
Full support 57 |
Firefox Android
No support No |
Opera Android
Full support 43 |
Safari iOS
No support No |
Samsung Internet Android
Full support 7.0 |
Legend
- Full support
- Full support
- No support
- No support
AudioParam.cancelAndHoldAtTime() by Mozilla Contributors is licensed under CC-BY-SA 2.5.