<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">By the way, I found this in my abstractions but I don't know how bad the distortion is compared to standard compressors.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div><img src="cid:ii_ju8am5n51" alt="image.png" width="562" height="365"><br></div></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><a href="http://dariosanfilippo.tumblr.com" target="_blank"><br></a></div></div></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 8 Apr 2019 at 11:02, Dario Sanfilippo <<a href="mailto:sanfilippo.dario@gmail.com">sanfilippo.dario@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">On Mon, 8 Apr 2019 at 04:48, Alexandre Torres Porres <<a href="mailto:porres@gmail.com" target="_blank">porres@gmail.com</a>> wrote:</span><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">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...</div></blockquote><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">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.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">D</div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><br></div><div><div><img src="cid:ii_ju7r39r41" alt="Screen Shot 2019-04-07 at 23.42.22.png" width="237" height="373" style="margin-right: 0px;"><br></div><div><br></div><div>Seems rough and rudimentary. It's more of an intuitive approach, as I don't know much about compressor design. </div><div><br></div><div>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.</div><div><br></div><div>Are there any other attempts to implement compession in Pd out there?</div><div><br></div><div>Thanks</div><div>Cheers</div><div><br></div><div><br></div></div></div></div>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div></div>
</blockquote></div>