The cancelAndHoldAtTime() method 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.
cancelAndHoldAtTime(cancelTime)cancelTimeA 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.