Class Audio.Effect.compress

class compress : ?attack:float -> ?release:float -> ?threshold:float -> ?ratio:float -> ?knee:float -> ?rms_window:float -> ?gain:float -> int -> int -> object .. end

Hardknee compressor with RMS look-ahead envelope calculation and adjustable attack/decay. Given parameters are attack and release in seconds, ratio n means n:1 compression, threshold and knee in dB, and rms_window in second is the duration for RMS acquisition. gain is an additional pre-gain.

Inherits
method set_attack : float -> unit
method set_gain : float -> unit
method set_knee : float -> unit
method set_ratio : float -> unit
method set_release : float -> unit
method set_threshold : float -> unit
method reset : unit