Thanks Aleksey. I think env difference will do it for now.Aleksey Vaneev wrote:Just a quick idea: it may be a good idea to use ratio of envelopes, not their difference. Produces slightly better rectification. But in analog world this is not practical, of course.
One thing is still puzzling me, the user control: user gets to set the desired dB value, but how do you go from the envelope difference, which depends on the input audio and attack/release times, to exact dB values that user wants??
I am more in favor of percentage, something like [-100%, +100%] instead of exact dB. Plus a make-up gain in case the sound becomes too loud or too quiet.
