Secure contextThis 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 APIThe definition of 'audioWorklet' in that specification. | Working Draft | Initial definition. |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
audioWorklet
|
Chrome
Full support 66 |
Edge
Full support 79 |
Firefox
Full support 76 |
IE
No support No |
Opera
Full support Yes |
Safari
No support No |
WebView Android
Full support 66 |
Chrome Android
Full support 66 |
Firefox Android
Full support 79 |
Opera Android
Full support Yes |
Safari iOS
No support No |
Samsung Internet Android
Full support 9.0 |
Legend
- Full support
- Full support
- No support
- No support
See also:
BaseAudioContext.audioWorklet by Mozilla Contributors is licensed under CC-BY-SA 2.5.