DCompressor:
Filter:
Classes (extension) | UGens > Dynamics

DCompressor : UGen : AbstractFunction : Object
ExtensionExtension

Simple compressor

Description

Compressor from DaisySP DSP library, ported from faust originally by shensley andAvAars originally.

Class Methods

DCompressor.ar(input, sidechainIn: 0, sidechain: 0, ratio: 4, threshold: -40, attack: 0.1, release: 100.1, makeup: 0.5, automakeup: 1)

Arguments:

input

Sound input

sidechainIn

Sidechain/key input

sidechain

Activate sidechain or not. 0 = false, 1 = true.

ratio

Set the amount of gain reduction. Values between 1.0 and 40.0.

threshold

Set the threshold in dB. 0.0 - (-80.0).

attack

Set the envelope time for onset of compression for signals above the rheshold. 0.001 to 10.0.

release

Set the envelope time for the release of compression. 0.001 to 10.0.

makeup

Manually set makeup gain. 0.0 to 80.0.

automakeup

Enable or disable automatic gain. 0 is disable, 1 is enable. Disabling sets makeup gain to 0.

Inherited class methods

Instance Methods

Inherited instance methods

Examples