By the way, I found this in my abstractions but I don't know how bad the distortion is compared to standard compressors.
[image: image.png]
http://dariosanfilippo.tumblr.com
On Mon, 8 Apr 2019 at 11:02, Dario Sanfilippo sanfilippo.dario@gmail.com wrote:
On Mon, 8 Apr 2019 at 04:48, Alexandre Torres Porres porres@gmail.com wrote:
I'm using rms average to detect the gain level and rampsmooth~ to perform attack/release. I wouldn't know how to do it in Vanilla...
You can square the input, average it with a 1pole lowpass, and take the sqrt. The period of the filter is your analysis window. I was convinced I had seen this technique on Miller's book but I can't find it anymore.
D
[image: Screen Shot 2019-04-07 at 23.42.22.png]
Seems rough and rudimentary. It's more of an intuitive approach, as I don't know much about compressor design.
I'm hoping to get feedback from you people on how to implement a compressor in Pd as a patch and how and why this approach is "ok" and can be improved, or if it's all terribly wrong.
Are there any other attempts to implement compession in Pd out there?
Thanks Cheers
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list