MDN Web Docs

Instance properties

This interface also inherits properties defined on its parent interface, Worklet.

port Read only

Returns a MessagePort for custom, asynchronous communication between code in the main thread and the global scope of an audio worklet. This allows for custom messages, such as sending and receiving control data or global settings.

Instance methods

This interface inherits methods from Worklet. The AudioWorklet interface does not define any methods of its own.

Events

AudioWorklet has no events to which it responds.

Examples

See AudioWorkletNode for complete examples of custom audio node creation.

Specifications

Specification
Web Audio API
# AudioWorklet

Browser compatibility

See also

Help improve MDN

Yes No

Learn how to contribute

This page was last modified on by MDN contributors.

Read the original on developer.mozilla.org ↗