Effect.compressHardknee 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.
inherit t