OfflineAudioContextBaseline · Widely available
The OfflineAudioContext API represents an audio processing graph that writes to an AudioBuffer instead of an output device.
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Apr 26, 2021. Widely available since Oct 26, 2023.
Browser support
DesktopChrome
1–34Not supported
35+Supportedsince May 20, 2014
Current: 155Edge
12+Supportedsince Jul 29, 2015
Current: 154Firefox
1–24Not supported
25+Supportedsince Oct 29, 2013
Current: 157Safari
1–14Not supported
14.1+Supportedsince Apr 26, 2021
Current: 27MobileChrome Android
18–34Not supported
35+Supportedsince May 20, 2014
Current: 155Firefox Android
4–24Not supported
25+Supportedsince Oct 29, 2013
Current: 157Safari iOS
1–14Not supported
14.5+Supportedsince Apr 26, 2021
Current: 27How to use
This feature is Baseline widely available — use it freely, no fallback needed.
Example
Full syntax and examples are on MDN: OfflineAudioCompletionEvent.
Feature detection
JS · check before using
if ("OfflineAudioContext" in globalThis) {
// OfflineAudioContext is available
} else {
// load a polyfill or use a fallback
}Sub-features
Support for each part of the feature (12). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| OfflineAudioCompletionEvent | 14 | 12 | 25 | 6 | 18 | 25 | 6 |
| OfflineAudioCompletionEvent.OfflineAudioCompletionEvent | 57 | 79 | 53 | 14 | 57 | 53 | 14 |
| OfflineAudioCompletionEvent.renderedBuffer | 14 | 12 | 25 | 6 | 18 | 25 | 6 |
| OfflineAudioContext | 35 | 12 | 25 | 14.1 | 35 | 25 | 14.5 |
| OfflineAudioContext.OfflineAudioContext | 35 | 12 | 25 | 14.1 | 35 | 25 | 14.5 |
| OfflineAudioContext.OfflineAudioContext.options_parameter | 62 | 79 | 57 | 14.1 | 62 | 57 | 14.5 |
| OfflineAudioContext.complete_event | 35 | 12 | 25 | 14.1 | 35 | 25 | 14.5 |
| OfflineAudioContext.length | 51 | 14 | 49 | 14.1 | 51 | 49 | 14.5 |
| OfflineAudioContext.resume | 41 | 14 | ✕ | 14.1 | 41 | ✕ | 14.5 |
| OfflineAudioContext.startRendering | 35 | 12 | 25 | 14.1 | 35 | 25 | 14.5 |
| OfflineAudioContext.startRendering.returns_promise | 42 | ≤18 | 37 | 14.1 | 42 | 37 | 14.5 |
| OfflineAudioContext.suspend | 41 | 14 | ✕ | 14.1 | 41 | ✕ | 14.5 |