Hello,
Some time ago I did an expander/compressor/limiter abstraction. It proved to serve well, therefore I'd like to share it now. It is done with an experimental technique using an analytic signal, hence the term quadrature compander, in short [qompander~] for the abstraction. It is just a mono, single band compander. Fast response is it's major characteristic.
The abstraction uses two objects specific to Pd extended: [expr] and [cyclone/pow~]. A help patch is included, with test signals and some demo presets which should give an impression of the compander's possibilities.
Illustrated documentation is at http://www.katjaas.nl/compander/compander.html
qompander~.pd and qompander~-help.pd are in the attached zip file.
Katja
update: as Maelstorm indicated, [expr] is in vanilla Pd. However, I found yet another Pd extended object in my patch, [iemlib/peakenv~]. I will soon upload a vanilla version of the compander.