AudioWorklet extension type

The AudioWorklet interface of the Web Audio API is used to supply custom audio processing scripts that execute in a separate thread to provide very low latency audio processing.

The worklet's code is run in the AudioWorkletGlobalScope global execution context, using a separate Web Audio thread which is shared by the worklet and other audio nodes.

Access the audio context's instance of AudioWorklet through the BaseAudioContext.audioWorklet property.

on
Implemented types

Properties

hashCode int
The hash code for this object.
no setterinherited
port MessagePort
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addModule(String moduleURL, [WorkletOptions options]) JSPromise<JSAny?>
The addModule() method of the Worklet interface loads the module in the given JavaScript file and adds it to the current Worklet.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited