AudioParam.cancelAndHoldAtTime()

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.

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 new value is given in the value parameter.

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

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 57[1] ? ? 44 ?
Feature Android Webview Chrome for Android Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile
Basic support 57[1] 57[1] ? ? ? 44 ?

[1] Before Chrome 57, this method was implemented as cancelValuesAndHoldAtTime

Document Tags and Contributors

 Contributors to this page: jpmedley, bunnybooboo
 Last updated by: jpmedley,