<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I am on the list.<div class=""><br class=""></div><div class="">I don’t think there’s a “more sensible” or “accepted” way to do it. It depends on the purpose.</div><div class=""><br class=""></div><div class="">Averaging makes some sense where you’ve got a human tapping, and Brian is right that weighted averages are a good idea to give more recent times more importance. Rather than doing hard sums, on a PIC it makes sense to do this weighting by using bit shifts (so choose from weights of 1, 0.5, 0.25, or 0.125!!).</div><div class=""><br class=""></div><div class="">However, if you’re likely to use the tap tempo input for syncing the delay to incoming tempos from a drum machine or sequencer or similar, then just measuring the last two pulses and using those only makes the thing much more responsive. You don’t need to worry for a delay, but for my tap tempo LFOs, I also needed to think about the phase, and it’s important to reset or adjust the phase so that the LFO waveform is on the beat, not just in time.</div><div class=""><br class=""><div class="">
<div>==================<br class="">       Electric Druid<br class="">Synth & Stompbox DIY<br class="">==================</div><div class=""><br class=""></div><br class="Apple-interchange-newline">

</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 2 Feb 2021, at 00:43, Markus via Synth-diy <<a href="mailto:synth-diy@synth-diy.org" class="">synth-diy@synth-diy.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div class="ydp4558eb3fyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div class=""></div>
        <div dir="ltr" data-setdir="false" class="">sounds like Tom Wiltshire from Electric Druid would be the expert on this. is he on this list?</div><div dir="ltr" data-setdir="false" class=""><br class=""></div><div dir="ltr" data-setdir="false" class=""><a href="https://electricdruid.net/electric-druid-chips-the-next-generation/" rel="nofollow" target="_blank" class="">https://electricdruid.net/electric-druid-chips-the-next-generation/</a><br class=""></div><div class=""><br class=""></div>
        
        </div><div id="yahoo_quoted_2287296372" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;" class="">
                
                <div class="">
                    On Monday, February 1, 2021, 04:40:12 PM PST, Didier Leplae via Synth-diy <<a href="mailto:synth-diy@synth-diy.org" class="">synth-diy@synth-diy.org</a>> wrote:
                </div>
                <div class=""><br class=""></div>
                <div class=""><br class=""></div>
                <div class=""><div id="yiv0663896726" class=""><div class=""><div class="yiv0663896726yahoo-style-wrap" style="font-family:verdana, helvetica, sans-serif;font-size:13px;"><div dir="ltr" class="">I am currently working on a delay module using a PIC uC to control the delay time so adding in a tap function. </div><div dir="ltr" class="">Thus far, I have the PIC measuring the time between two consecutive taps to determine the delay time. But it occurred to me that sometimes when I use a tap tempo, I tap multiple times with the assumption that the multiple taps are averaged. </div><div dir="ltr" class="">Does anyone have an opinion on which is the more sensible or accepted way to do this?  </div></div></div></div>_______________________________________________<br class="">Synth-diy mailing list<br class=""><a ymailto="mailto:Synth-diy@synth-diy.org" href="mailto:Synth-diy@synth-diy.org" class="">Synth-diy@synth-diy.org</a><br class=""><a href="http://synth-diy.org/mailman/listinfo/synth-diy" target="_blank" class="">http://synth-diy.org/mailman/listinfo/synth-diy</a><br class="">Selling or trading? Use <a ymailto="mailto:marketplace@synth-diy.org" href="mailto:marketplace@synth-diy.org" class="">marketplace@synth-diy.org</a><br class=""></div>
            </div>
        </div></div>_______________________________________________<br class="">Synth-diy mailing list<br class=""><a href="mailto:Synth-diy@synth-diy.org" class="">Synth-diy@synth-diy.org</a><br class="">http://synth-diy.org/mailman/listinfo/synth-diy<br class="">Selling or trading? Use marketplace@synth-diy.org<br class=""></div></blockquote></div><br class=""></div></body></html>