Compression gain auto make up - formula?

Wojciech Morawski's icon

Hey!

I'm trying to gain make auto make up for compressor (max/effects/compression/komp.maxpatch) but I fail.
I made advanced forum search but there in no topic like this.
Could you help me with it?

thx!

ak's icon

[*~] it seems
gain calculation is based on threshold and ratio (so you need to hack komp.maxpat or provide those from outside)

Max Patch
Copy patch and select New From Clipboard in Max.

eg:

or use omx.comp, which does ag by default (i believe).

czirs

Wojciech Morawski's icon

Thank you very much for an answer and patch! I'll check those things after Christmas.
All the best
wo
!