DualBandComp:
Filter:
adclib/Classes (extension) | UGens | UGens > Dynamics

DualBandComp
ExtensionExtension

dual band compressor

Description

DualBandComp splits an audio signal into two bands, and compresses them separately with different thresholds. This is intended to reduce the maximum level earlier for signals with lots of highs going into limiting, and letting signals with more pink noise like spectra go louder in the lows.

DualBandComp takes the loudest channel as the compression control input signal, so panning (including multichannel) is preserved.

By comparison, DualBandLim is a limiter, not a compressor, and does not preserve panning.

Class Methods

.ar

create a DualBandComp

Arguments:

in

the input signal to compress

xfreq

the crossover freq between the two band compressors

lflim

the amp limit for the low band

hflim

the amp limit for the high band

lfgain

gain for the low band before compressor

hfgain

gain for the high band before compressor

Examples