BaseAudioContext.audioWorklet

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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
audioWorklet
66
79
76
No
Yes
14.1
66
66
79
Yes
14.5
9.0

See also

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/audioWorklet