AudioParam.cancelAndHoldAtTime()

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 API
The definition of 'cancelAndHoldAtTime()' in that specification.
Working Draft Initial definition.

Browser Compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
cancelAndHoldAtTimeChrome Full support 57
Full support 57
No support ? — 56
Alternate Name
Alternate Name Uses the non-standard name: cancelValuesAndHoldAtTime()
Edge Full support ≤79Firefox No support NoIE No support NoOpera Full support 44
Full support 44
No support ? — 43
Alternate Name
Alternate Name Uses the non-standard name: cancelValuesAndHoldAtTime()
Safari No support NoWebView Android Full support 57
Full support 57
No support ? — 56
Alternate Name
Alternate Name Uses the non-standard name: cancelValuesAndHoldAtTime()
Chrome Android Full support 57
Full support 57
No support ? — 56
Alternate Name
Alternate Name Uses the non-standard name: cancelValuesAndHoldAtTime()
Firefox Android No support NoOpera Android Full support 43
Full support 43
No support ? — 43
Alternate Name
Alternate Name Uses the non-standard name: cancelValuesAndHoldAtTime()
Safari iOS No support NoSamsung Internet Android Full support 7.0
Full support 7.0
No support ? — 6.0
Alternate Name
Alternate Name Uses the non-standard name: cancelValuesAndHoldAtTime()

Legend

Full support
Full support
No support
No support
Uses a non-standard name.
Uses a non-standard name.