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.
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.
js
cancelAndHoldAtTime(cancelTime)
cancelTime
A double representing the time (in seconds) after the AudioContext
was first created after which all scheduled changes will be cancelled.
A reference to the AudioParam
it was called on.
Specification |
---|
Web Audio API # dom-audioparam-cancelandholdattime |
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
cancelAndHoldAtTime |
57 | 79 | No | No | 44 | 14.1 | 57 | 57 | No | 43 | 14.5 | 7.0 |
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/cancelAndHoldAtTime