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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic supportChrome Full support 57
Full support 57
No support ? — 56
Alternate Name
Alternate Name Uses the non-standard name: cancelValuesAndHoldAtTime()
Edge ? Firefox 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()
Edge Mobile Full support YesFirefox Android No support NoOpera Android Full support 44
Full support 44
No support ? — 43
Alternate Name
Alternate Name Uses the non-standard name: cancelValuesAndHoldAtTime()
Safari iOS No support NoSamsung Internet Android Full support 7.0

Legend

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

Document Tags and Contributors

Last updated by: chrisdavidmills,