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

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support

57

Yes — 561

? No No

44

Yes — 431

No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support

57

Yes — 561

57

Yes — 561

Yes No

44

Yes — 431

No7.0

1. Supported as cancelValuesAndHoldAtTime().

Document Tags and Contributors

Last updated by: chrisdavidmills,