[PD] change in compression detection

Mathieu Bouchard matju at artengine.ca
Tue Jan 11 19:33:12 CET 2011

On Mon, 10 Jan 2011, Roman Haefeli wrote:

> Assuming that the more compression is applied, the more the RMS 
> amplitude [1] approaches the Peak amplitude [2] of an audio signal,

Why do you assume that ? Let's say I take a signal and divide it by its 
recent peak volume. The output of [osc~] will stay unchanged. A signal 
made of plenty of sharp spikes will have a much lower RMS/peak ratio and 
still be unchanged.

Are you confusing this with waveshaping such as [expr tanh($v1)] ? It may 
be a special case of compression, but is not what is usually meant by 


| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC

More information about the Pd-list mailing list