BaseAudioContext.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 read-only property of the BaseAudioContext interface returns an instance of AudioWorklet that can be used for adding AudioWorkletProcessor-derived classes which implement custom audio processing.

Syntax

baseAudioContextInstance.audioWorklet;

Value

An AudioWorklet instance.

Examples

For a complete example demonstrating user-defined audio processing, see the AudioWorkletNode page.

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
audioWorklet
Experimental
Chrome Full support 66Edge ? Firefox ? IE No support NoOpera Full support YesSafari ? WebView Android Full support 66Chrome Android Full support 66Firefox Android ? Opera Android Full support YesSafari iOS No support NoSamsung Internet Android Full support Yes

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.

See also:

Document Tags and Contributors

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