MDN wants to learn about developers like you:


The OfflineAudioCompletionEvent() constructor of the Web Audio API creates a new OfflineAudioCompletionEvent object instance.

Note: You wouldn't generally use the constructor manually. OfflineAudioCompletionEvents are despatched to OfflineAudioContext instances for legacy reasons.


var offlineAudioCompletionEvent = new OfflineAudioCompletionEvent(type, init)


type Optional
A DOMString representing the type of object to create.
init Optional
Options are as follows:
  • renderedBuffer: The rendered AudioBuffer containing the audio data.

Return value

A new OfflineAudioCompletionEvent object instance.


Specification Status Comment
Web Audio API
The definition of 'OfflineAudioCompletionEvent()' in that specification.
Working Draft Initial definition.

Browser Compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support551 ?53 No42 ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidIE mobileOpera AndroidiOS Safari
Basic support551551 ?53 No42 ?

1. Before Chrome 59, the default values were not supported.

Document Tags and Contributors

 Contributors to this page: chrisdavidmills
 Last updated by: chrisdavidmills,