<html><body><div style="font-size: 12pt; font-family: "times new roman", "new york", times, serif; color: rgb(0, 0, 0);"><div>Remember that high order filters don't come without their own baggage...</div>
<div> </div>
<div>They suffer from greater group delay (which could be a problem) and poor transient response (also a problem).</div>
<div> </div>
<div>Especially in a use where the input could start at zero or suddenly return to zero, the overshoots can be a killer.</div>
<div> </div>
<div>I've been making filters to isolate the fundamental of Guitars for many (now many mnay) years. The settling times are longer than the delay of the guitar signal itself, therefore the delays...</div>
<div> </div>
<div>
<div id="OLK_SRC_BODY_SECTION">
<div id="OLK_SRC_BODY_SECTION">
<blockquote style="margin: 0 0 0 .8em; border-left: 1px #ccc solid; padding-left: 1em;"><hr id="MESSAGE_DATA_MARKER"><strong>From: </strong>Jean-Pierre <jpdesroc@oricom.ca><br><strong>To: </strong>'Tom <tom@electricdruid.net><br><strong>Cc: </strong>synth-diy <synth-diy@synth-diy.org><br><strong>Date: </strong>Friday, 17 December 2021 10:39 AM EST<br><strong>Subject: </strong>Re: [sdiy] Best & fastest envelope follower schematic.. anybody ?<br><br>
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-CA">></span><span lang="EN-CA"> This would be the digital equivalent to the single pole RC. It should be possible to get better ripple suppression by using higher order filters. Harald showed that he got a better response using a fourth-order filter.</span></p>
<p class="MsoNormal"><span lang="EN-CA"><br>So.. how can I modify the C1 section to get for example a fourth-order filter ?<br>To do it the way the signal flows across C1 is a bit confusing..<br>The signal comes from the left side but the clamping comes from D1 at right side.</span></p>
<p class="MsoNormal"><span lang="EN-CA">I know how to implement high order filters in circuits but only<br>if I know the signal flow direction..</span></p>
<p class="MsoNormal"><span lang="EN-CA"> </span></p>
<p class="MsoNormal"><img id="Image_x0020_1" style="width: 6.3333in; height: 4.7916in;" src="cid:image001.png@01D7F331.833F9BD0" width="608" height="460"></p>
<p class="MsoNormal"> </p>
<div style="border: none; border-left: solid blue 1.5pt; padding: 0cm 0cm 0cm 4pt;">
<div>
<div style="border: none; border-top: solid #e1e1e1 1pt; padding: 3pt 0cm 0cm 0cm;">
<p class="MsoNormal"><strong><span lang="FR">De :</span></strong><span lang="FR"> Synth-diy <synth-diy-bounces@synth-diy.org> <strong>De la part de</strong> Tom Wiltshire<br><strong>Envoyé :</strong> 17 décembre 2021 08:37<br><strong>À :</strong> Martin Klang <mars@pingdynasty.com><br><strong>Cc :</strong> synth-diy@synth-diy.org<br><strong>Objet :</strong> Re: [sdiy] Best & fastest envelope follower schematic.. anybody ?</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">This would be the digital equivalent to the single pole RC. It should be possible to get better ripple suppression by using higher order filters. Harald showed that he got a better response using a fourth-order filter.</p>
<div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"><br><br></p>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;">
<div>
<p class="MsoNormal">On 16 Dec 2021, at 16:26, Martin Klang <<a href="mailto:mars@pingdynasty.com" target="_blank" rel="noopener noreferrer">mars@pingdynasty.com</a>> wrote:</p>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal" style="word-spacing: 0px;"><span style="font-size: 9pt; font-family: 'helvetica' , sans-serif;">I think an envelope follower with no lag is called a rectifier.</span></p>
<p class="MsoNormal" style="word-spacing: 0px;"><span style="font-size: 9pt; font-family: 'helvetica' , sans-serif;">Jokes aside, there are a number of options available but ultimately it comes down to filtering.</span></p>
<p class="MsoNormal" style="word-spacing: 0px;"><span style="font-size: 9pt; font-family: 'helvetica' , sans-serif;">For digital envelope followers, I like to use a simple exponential average (aka leaky integrator, a first-order IIR filter) on the fully rectified signal and tune the time constant to the expected input signal. Generally you want it to be fast, but not so fast as to track the waveform oscillations, even at say 20 Hz. This makes a computationally very efficient follower with predictable results.</span></p>
<p class="MsoNormal" style="word-spacing: 0px;"><span style="font-size: 9pt; font-family: 'helvetica' , sans-serif;"> </span></p>
<p class="MsoNormal" style="word-spacing: 0px;"><span style="font-size: 9pt; font-family: 'helvetica' , sans-serif;">best,</span></p>
<p class="MsoNormal" style="word-spacing: 0px;"><span style="font-size: 9pt; font-family: 'helvetica' , sans-serif;"> </span></p>
<p class="MsoNormal" style="word-spacing: 0px;"><span style="font-size: 9pt; font-family: 'helvetica' , sans-serif;">Martin</span></p>
<p class="MsoNormal" style="word-spacing: 0px;"><span style="font-size: 9pt; font-family: 'helvetica' , sans-serif;"> </span></p>
<div>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: 'helvetica' , sans-serif;">On 16/12/2021 01:36, Jean-Pierre Desrochers wrote:</span></p>
</div>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt; word-spacing: 0px;">
<div>
<p class="MsoNormal">Here is my goal..</p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA">I need a circuit that will take an AC signal and will shift level it from<br>a DC offset extracted from its min & max Peaks..<br>Ex: Suppose you have steady +/- 5v peak sine wave coming in this circuit,<br>The output would be the same waveform but shifted up to +5vdc.<span class="apple-converted-space"> </span></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA">So 0 to +10vdc.<br>That final waveform would be much usable for a 0-5vdc control voltage input<br>than the original AC waveform.<br>Now the challenge is to do the same with a level changing AC signal.</span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA">In the case of a<span class="apple-converted-space"> </span><u>steady waveform</u><span class="apple-converted-space"> </span>this ‘level shifter’ could be an opamp that would add half of the peak to peak voltage as an offset DC voltage,<br>But here I’m looking for something that will be more versatile<br>to handle varying level waveform.<br><br><br></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA"> </span></p>
</div>
</blockquote>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: 'helvetica' , sans-serif;">_______________________________________________<br>Synth-diy mailing list<br><a href="mailto:Synth-diy@synth-diy.org" target="_blank" rel="noopener noreferrer">Synth-diy@synth-diy.org</a><br><a href="http://synth-diy.org/mailman/listinfo/synth-diy" target="_blank" rel="noopener noreferrer">http://synth-diy.org/mailman/listinfo/synth-diy</a><br>Selling or trading? Use <a href="mailto:marketplace@synth-diy.org" target="_blank" rel="noopener noreferrer">marketplace@synth-diy.org</a></span></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</blockquote>
</div>
</div></div></div></body></html>