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
Constructor
Section titled “Constructor”new MultibandCompressor(options?: RecursivePartial<MultibandCompressorOptions>)Parameters
- options
RecursivePartial<MultibandCompressorOptions>optional
Properties
Section titled “Properties”highFrequency
Section titled “highFrequency”read-only
highFrequency: Signal<"frequency">mid/high crossover frequency.
read-only
input: InputNodeThe input node or nodes. If the object is a source, it does not have any input and this.input is undefined.
lowFrequency
Section titled “lowFrequency”read-only
lowFrequency: Signal<"frequency">low/mid crossover frequency.
read-only
name: stringThe name of the class
Default: "MultibandCompressor"
output
Section titled “output”read-only
output: ToneAudioNodeThe output nodes. If the object is a sink, it does not have any output and this.output is undefined.
Methods
Section titled “Methods”getDefaults()
Section titled “getDefaults()”static
getDefaults(): MultibandCompressorOptionsReturns all of the default options belonging to the class.
Returns MultibandCompressorOptions
Inherited members
Section titled “Inherited members”- From
ToneWithContext: context, blockTime, sampleTime, get(), immediate(), now(), set(), toFrequency(), toSeconds(), toTicks() - From
Tone: debug, version, disposed, toString() - From
ToneAudioNode: channelCount, channelCountMode, channelInterpretation, numberOfInputs, numberOfOutputs, chain(), connect(), disconnect(), fan(), toDestination(), toMaster()