coderef

AudioWorkletBaseline · Widely available

The AudioWorklet API runs module code in a separate thread, specifically for non-blocking, low latency audio processing.

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–65Not supported
66+Supportedsince Apr 17, 2018
Current: 155
Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154
Firefox
1–75Not supported
76+Supportedsince May 5, 2020
Current: 157
Safari
1–14Not supported
14.1+Supportedsince Apr 26, 2021
Current: 27
MobileChrome Android
18–65Not supported
66+Supportedsince Apr 17, 2018
Current: 155
Firefox Android
4–68Not supported
79+Supportedsince Jul 28, 2020
Current: 157
Safari iOS
1–14Not supported
14.5+Supportedsince Apr 26, 2021
Current: 27

How to use

This feature is Baseline widely available — use it freely, no fallback needed.

Example

Full syntax and examples are on MDN: AudioWorklet.

Feature detection

JS · check before using
if ("AudioWorklet" in globalThis) {
  // AudioWorklet is available
} else {
  // load a polyfill or use a fallback
}

Sub-features

Support for each part of the feature (19). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
AudioWorklet66797614.1667914.5
AudioWorkletGlobalScope66797614.1667914.5
AudioWorkletGlobalScope.currentFrame66797614.1667914.5
AudioWorkletGlobalScope.currentTime66797614.1667914.5
AudioWorkletGlobalScope.port✕✕138✕✕138✕
AudioWorkletGlobalScope.registerProcessor66797614.1667914.5
AudioWorkletGlobalScope.sampleRate66797614.1667914.5
AudioWorkletNode66797614.1667914.5
AudioWorkletNode.AudioWorkletNode66797614.1667914.5
AudioWorkletNode.parameters66797614.1667914.5
AudioWorkletNode.port66797614.1667914.5
AudioWorkletNode.processorerror_event66797614.1667914.5
AudioWorkletProcessor64797614.1647914.5
AudioWorkletProcessor.AudioWorkletProcessor64797614.1647914.5
AudioWorkletProcessor.port64797614.1647914.5
BaseAudioContext.audioWorklet66797614.1667914.5
Worklet65797614.1657914.5
Worklet.addModule65797614.1657914.5
WorkletGlobalScope65797614.1657914.5