Skip to content
Tone.js

ToneAudioWorklet

internal class Core ↳ extends ToneAudioNode<Options>

ToneAudioNode is the base class for classes which process audio.

new ToneAudioWorklet(options: Options)

Parameters

  • options Options

read-only

name: string

The name of the class

Default: "ToneAudioWorklet"

onprocessorerror: (e: string) => void

Callback which is invoked when there is an error in the processing

Default: noOp

dispose(): this

Dispose and disconnect

Returns this