Skip to content
Tone.js

ReverseDelayWorklet

internal class ↳ extends ToneAudioWorklet<ReverseDelayWorkletOptions>

Internal class which creates an AudioWorklet to reverse the delay signal

new ReverseDelayWorklet(options?: Partial<ReverseDelayOptions>)

Parameters

read-only

delayTime: number

read-only

feedback: Param<"normalRange">

read-only

input: Gain

The input node or nodes. If the object is a source, it does not have any input and this.input is undefined.

read-only

name: string

The name of the class

Default: "ReverseDelayWorklet"

↳ inherited from ToneAudioWorklet

onprocessorerror: (e: string) => void

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

Default: noOp

read-only

output: Gain

The output nodes. If the object is a sink, it does not have any output and this.output is undefined.

dispose(): this

Dispose and disconnect

Returns this

onReady(node: AudioWorkletNode): void

Invoked when the module is loaded and the node is created

Parameters

  • node AudioWorkletNode

static

Returns all of the default options belonging to the class.

Returns ReverseDelayWorkletOptions