Web/API/AudioParam/cancelAndHoldAtTime

From Get docs


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

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
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