<div class="gmail_quote">On Mon, Mar 18, 2013 at 11:45 PM, Fons Adriaensen <span dir="ltr"><<a href="mailto:fons@linuxaudio.org" target="_blank">fons@linuxaudio.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

A critically damped<br>
second order lowpass with a rise time of 30 ms or so will eliminate all<br>
audible artefacts. It's very low on CPU and you only need to run it while<br>
the gain is changing.<br></blockquote><div><br>Although I understand the words & their meaning, I have no idea how to start implementing such a filter.<br>I've found a 1st order algorithm on musicdsp: <a href="http://www.musicdsp.org/showone.php?id=257">http://www.musicdsp.org/showone.php?id=257</a><br>
Since its second order I understand it needs the previous 2 outputs.<br>Critically dampened implies that the "factor" of influence of the previous samples is very close to 1 ( 'a' in the algorithm linked )<br>
<br>How is the "rise time" determined here?<br>Noobie questions :) -Harry<br></div></div>