Skip to content
Tone.js

ReverseDelay

class Effect ↳ extends Effect<ReverseDelayOptions>

A feedback delay effect that plays the echos in reverse. Algorithm and gain function found in this pdf

const reverse = new Tone.ReverseDelay(1.5, 0.75).toDestination();
const synth = new Tone.Synth().connect(reverse);
synth.triggerAttackRelease("C4", "2n");
new ReverseDelay(delayTime?: Time, feedback?: number)

Parameters

  • delayTime Time optional

    The amount of time the incoming signal will be delayed and reversed.

  • feedback number optional

    The amount of signal which is fed back through the delay.

new ReverseDelay(options?: Partial<ReverseDelayOptions>)

Parameters

↳ inherited from Effect

input: Gain

The effect input node

read-only

name: string

The name of the class

Default: "ReverseDelay"

↳ inherited from Effect

output: CrossFade

The effect output

↳ inherited from Effect

wet: Signal<"normalRange">

The wet control is how much of the effected will pass through to the output. 1 = 100% effected signal, 0 = 100% dry signal.

delayTime: Time

The amount of time the incoming signal is delayed and reversed

feedback: number

The amount of signal which is fed back through the delay.

dispose(): this

Dispose and disconnect

Returns this

static

getDefaults(): ReverseDelayOptions

Returns all of the default options belonging to the class.

Returns ReverseDelayOptions