W3cubDocs

/DOM

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 CompatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support 57
57
? — 56
Uses the non-standard name: cancelValuesAndHoldAtTime()
? No No 44
44
? — 43
Uses the non-standard name: cancelValuesAndHoldAtTime()
No
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support 57
57
? — 56
Uses the non-standard name: cancelValuesAndHoldAtTime()
57
57
? — 56
Uses the non-standard name: cancelValuesAndHoldAtTime()
Yes No 44
44
? — 43
Uses the non-standard name: cancelValuesAndHoldAtTime()
No 7.0

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/cancelAndHoldAtTime