BaseAudioContext: audioWorklet property
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since April 2021.
Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.
TheaudioWorklet read-only property of theBaseAudioContext interface returns an instance ofAudioWorklet that can be used for addingAudioWorkletProcessor-derived classes which implement custom audioprocessing.
In this article
Value
AnAudioWorklet instance.
Examples
For a complete example demonstrating user-defined audio processing, see theAudioWorkletNode page.
Specifications
| Specification |
|---|
| Web Audio API> # dom-baseaudiocontext-audioworklet> |