Skip to content
Tone.js

MidSideCompressor

class Component ↳ extends ToneAudioNode<MidSideCompressorOptions>

MidSideCompressor applies two different compressors to the mid and side signal components of the input.

See also: MidSideSplit and MidSideMerge.

new MidSideCompressor(options?: RecursivePartial<MidSideCompressorOptions>)

Parameters

read-only

input: InputNode

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 compression applied to the mid signal

read-only

name: string

The name of the class

Default: "MidSideCompressor"

read-only

output: OutputNode

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

read-only

The compression applied to the side signal

dispose(): this

Dispose and disconnect

Returns this

static

Returns all of the default options belonging to the class.

Returns MidSideCompressorOptions