[music-dsp] Beginner's compressor, take 2

Al Clark aclark at danvillesignal.com
Mon Dec 15 06:51:00 EST 2003


At 05:19 PM 12/14/2003, you wrote:
>in cruising the archives, i found a different RMS equation from the one i 
>was using.
>
>http://aulos.calarts.edu/pipermail/music-dsp/2002-December/018935.html
>
>basically, it's ...
>
>ave_squares(n) = ( (1 - A) * in(n)^2 ) + ( A * ave_squares(n-1) )
>
>instead of what i was using, which was ...
>
>ave_squares(n) = ( A * in(n)^2 ) + ( (1-A) * ave_squares(n-1) )
>
>anyone know which is more "correct"? anyways, i tried out the new one, 
>just for kicks, and it sounded a little better than the other with heavy 
>compression.
>

This is really the same equation except that A will be a large number in 
the first and a small number in the second.

>Al Clark

Danville Signal Processing, Inc.
--------------------------------------------------------------------
Purveyors of Fine DSP Hardware and other Cool Stuff
Available at http://www.danvillesignal.com




More information about the music-dsp mailing list