Skip to content
Tone.js

MultibandCompressor

class Component ↳ extends ToneAudioNode<MultibandCompressorOptions>

A compressor with separate controls over low/mid/high dynamics.

const multiband = new Tone.MultibandCompressor({
	lowFrequency: 200,
	highFrequency: 1300,
	low: {
		threshold: -12
	}
});

See also: Compressor and MultibandSplit

new MultibandCompressor(options?: RecursivePartial<MultibandCompressorOptions>)

Parameters

read-only

The compressor applied to the high frequencies

read-only

highFrequency: Signal<"frequency">

mid/high crossover frequency.

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 compressor applied to the low frequencies

read-only

lowFrequency: Signal<"frequency">

low/mid crossover frequency.

read-only

The compressor applied to the mid frequencies

read-only

name: string

The name of the class

Default: "MultibandCompressor"

read-only

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

dispose(): this

Dispose and disconnect

Returns this

static

Returns all of the default options belonging to the class.

Returns MultibandCompressorOptions