Back to Content

BaseAudioContext: audioWorklet property

files/en-us/web/api/baseaudiocontext/audioworklet/index.md

latest700 B
Original Source

{{ APIRef("Web Audio API") }}{{securecontext_header}}

The audioWorklet read-only property of the {{domxref("BaseAudioContext")}} interface returns an instance of {{domxref("AudioWorklet")}} that can be used for adding {{domxref("AudioWorkletProcessor")}}-derived classes which implement custom audio processing.

Value

An {{domxref("AudioWorklet")}} instance.

Examples

For a complete example demonstrating user-defined audio processing, see the {{domxref("AudioWorkletNode")}} page.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also