I would like to share this mono Dynamic Range Compressor abstraction with a Softknee, Makeup-gain and a Side-chain Detection inlet. Programmed in gen~ with codebox and genexpr (as separate file included). Left inlet is the signal to be compressed, the right inlet is the signal for the side-chain. All parameters are set with messages on the left inlet or with attributes in the object. See the help-file for detailed description. The folder also contains an example patch (view the video on the gumroad page).
Hope you enjoy it!