[linux-audio-dev] Paper on dynamic range compression

Erik de Castro Lopo mle+la at mega-nerd.com
Tue Oct 17 21:16:58 UTC 2006


Sorry, I'm coming into this late but .....

Dan Mills wrote:

> The gain control signal has energy right the way out
> to the band limit (and probably aliased around it),
> never mind what happens when that hits the multiplier!

You need a low pass filter on the control signal. It should
be somewhere well below 1kHz.
 
> Fixing this right means upsampling and adding a
> lowpass filter to the control loop, then downsampling
> again.

No it doesn't. You want to absolutely avoid fast changes in
the control signal because fast changes will modulate the 
audio signal whcih is **not** desirable.

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
"The reasonable man adapts himself to the world; the unreasonable
one persists to adapt the world to himself. Therefore all
progress depends on the unreasonable man."
  -- George Bernard Shaw (1856-1950)



More information about the Linux-audio-dev mailing list