Skip to content
Tone.js

StereoEffect

internal class ↳ extends ToneAudioNode<Options>

Base class for Stereo effects.

new StereoEffect(options: EffectOptions)

Parameters

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: "StereoEffect"

read-only

output: CrossFade

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

read-only

wet: Signal<"normalRange">

The wet control, i.e. how much of the effected will pass through to the output.

dispose(): this

Dispose and disconnect

Returns this

static

getDefaults(): EffectOptions

Returns all of the default options belonging to the class.

Returns EffectOptions