Skip to content
Tone.js

MidSideSplit

class Component ↳ extends ToneAudioNode<MidSideSplitOptions>

Mid/Side processing separates the the ‘mid’ signal (which comes out of both the left and the right channel) and the ‘side’ (which only comes out of the the side channels).

Mid = (Left+Right)/sqrt(2); // obtain mid-signal from left and right
Side = (Left-Right)/sqrt(2); // obtain side-signal from left and right
new MidSideSplit(options?: Partial<ToneWithContextOptions>)

Parameters

read-only

input: Split

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

read-only

The “mid” output. (Left+Right)/sqrt(2)

read-only

name: string

The name of the class

Default: "MidSideSplit"

read-only

output: undefined

There is no output node, use either mid or side outputs.

read-only

The “side” output. (Left-Right)/sqrt(2)

dispose(): this

Dispose and disconnect

Returns this