Audio rate compressor


#1

audio rate envelope follower, always getting the highest peak without smoothing (always on time, you can still use a smooth2 to smooth out it's attack, though you'll go down to control-rate again). Not that the second "math/max" and "math/*" are just a doubling of the first part (after abs), this is to smooth out the output a bit more. You might also do with one, or use more if you need more smoothing.

compressor having:
-threshold
-ratio (0 to full gain-reduction)
-make-up gain (when fully open, adds gain that boosts output back to 0dB after compression)
-max out (output max volume)

To add the regular attack/release controls, add an envelope-follower between the math/* and math/inv. The rise and fall times now correspond to attack and release, like normally, instead of inversed like the standard axoloti compressor.


#2

hi, thanks for this, the audio comp in Axo is confusing at best for someone familiar with traditional audio comps so this works very well

maybe apply some of your knowledge to a functioning limiter? have you thought about submitting this to the community library as an object?


#3

if you turn the ratio up all the way, this one will act as a limiter... to be honest, this, being without the attack/release part... IS the limiter :wink: (limiter just being a special-case of a compressor with ratio set at max...)


#4

right! sounds good so far! you really should submit this to the user library, im sure there are other users who would like to use this comp in particular


#6

I have made several compressors in the meanwhile which should behave far better then this patch..
(sss/dyn/..)