AudioWorklet

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

Secure context
This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

The AudioWorklet interface of the Web Audio API is used to supply custom audio processing scripts. User-supplied code is run in the AudioWorkletGlobalScope global execution context in a separate Web Audio rendering thread along with other nodes, allowing for zero-latency audio processing.

An instance of this object can be accessed on BaseAudioContext.audioWorklet property.

Properties

The AudioWorklet interface does not define any properties of its own.

Event handlers

None.

Methods

This interface inherits methods from Worklet.

The AudioWorklet interface does not define any methods of its own.

Examples

See the AudioWorkletNode page for complete examples of custom audio node creation.

Specifications

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

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
AudioWorkletChrome Full support 66Edge ? Firefox ? IE ? Opera Full support YesSafari ? WebView Android Full support 66Chrome Android Full support 66Firefox Android ? Opera Android Full support YesSafari iOS ? Samsung Internet Android Full support Yes

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

See also

Document Tags and Contributors

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