Skip to content
Tone.js

StereoWidener

class Effect ↳ extends MidSideEffect<StereoWidenerOptions>

Applies a width factor to the mid/side seperation. 0 is all mid and 1 is all side. Algorithm found in kvraudio forums.

Mid *= 2*(1-width)<br>
Side *= 2*width
new StereoWidener(width?: number)

Parameters

  • width number optional

    The stereo width. A width of 0 is mono and 1 is stereo. 0.5 is no change.

new StereoWidener(options?: Partial<StereoWidenerOptions>)

Parameters

↳ inherited from Effect

input: Gain

The effect input node

read-only

name: string

The name of the class

Default: "StereoWidener"

↳ 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.

read-only

width: Signal<"normalRange">

The width control. 0 = 100% mid. 1 = 100% side. 0.5 = no change.

dispose(): this

Dispose and disconnect

Returns this

static

getDefaults(): StereoWidenerOptions

Returns all of the default options belonging to the class.

Returns StereoWidenerOptions