Skip to content
Tone.js

Effect

internal class ↳ extends ToneAudioNode<Options>

Effect is the base class for effects. Connect the effect between the effectSend and effectReturn GainNodes, then control the amount of effect which goes to the output using the wet control.

new Effect(options: EffectOptions)

Parameters

input: Gain

The effect input node

read-only

name: string

The name of the class

Default: "Effect"

output: CrossFade

The effect output

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.

dispose(): this

Dispose and disconnect

Returns this

static

getDefaults(): EffectOptions

Returns all of the default options belonging to the class.

Returns EffectOptions