This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2020.
The OfflineAudioCompletionEvent() constructor of the Web Audio API creates a new OfflineAudioCompletionEvent object.
Note: You wouldn't generally use the constructor manually. OfflineAudioCompletionEvent events are dispatched to OfflineAudioContext instances for legacy reasons.
new OfflineAudioCompletionEvent(type, options)
typeA string with the name of the event. It is case-sensitive and browsers set it to complete.
optionsAn object that, in addition of the properties defined in Event(), can have the following properties:
renderedBufferThe rendered AudioBuffer containing the audio data.
A new OfflineAudioCompletionEvent object.
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
OfflineAudioCompletionEvent |
57 | 79 | 53 | 44 | 14 | 57 | 53 | 43 | 14 | 7.0 | 57 | 14 |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioCompletionEvent/OfflineAudioCompletionEvent