I tried the omx.peaklim~ object, that looks like working, unfortunately I don't understand how the [threshold $1( message works.
Normally, the [threshold -12] message is supposed to set the maximum level to -12dB: "The word threshold, followed by a number, sets the limiter threshold (in dB below full scale). When the input signal level exceeds this threshold, it will be attenuated as necessary to keep the level below the threshold." (from the MSP Reference Manual).
sending [threshold 0( sets the threshold to -24dB,
sending [threshold 24( sets the threshold to -12dB,
sending [threshold 50( sets the threshold to 0dB,
sending [threshold 100( sets the threshold to +24dB
Also, how do you set the threshold below -24dB?
Thanks for clarifying,