AudioWorklet class

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The 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 through the BaseAudioContext.audioWorklet property.

Worklet

AudioWorklet

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

AudioWorklet()
factory

Properties

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

Methods

addModule(String moduleURL, [WorkletOptions? options]) Future<void>

Available on Worklet, provided by the PropsWorklet extension

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