<div dir="ltr">In my small testing with an audio delay idea on Teensy. I sometimes would goof on the first two taps either rushing or hesitating to really hit that first one on the beat I was listening to.<div>So I programmed it to not accept a super fast tempo and listen to the last two steps after waiting a step or two. I usually tap four times to set tempo.</div><div><br></div><div>Great thread, Let us know what solution you end up with.</div><div><br></div><div>Kylee</div><div><br></div><div> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 3, 2021 at 12:40 PM Ingo Debus <<a href="mailto:igg.debus@gmail.com">igg.debus@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"><br>
> Am 02.02.2021 um 22:30 schrieb Mattias Rickardsson <<a href="mailto:mr@analogue.org" target="_blank">mr@analogue.org</a>>:<br>
> <br>
> Averaging might seem like a good idea to find the tempo, but if you just average a number of periods between consecutive pairs of taps, the end result only depends on the timing of the first and the last tap. The timings of all intermediate taps get thrown away in the calculation since they are first added (as one end of a period) and then subtracted (as the other end of next period). <br>
> <br>
> (If taps occur at times A, B, C, D, E<br>
> then the measured periods are B-A, C-B, D-C, E-D.<br>
> The average of these periods are (B-A + C-B + D-C + E-D) / 4<br>
> which equals (E-A) / 4<br>
> meaning the total time between the first and last taps, divided by the number of periods tapped in between.)<br>
<br>
Hehehe…<br>
At least you have to know how many taps occurred between the first and the last tap. Or how else can you know that you have to divide by 4?<br>
<br>
Anyway, all this only makes sense if the tempo is constant throughout the whole piece. I believe the idea of tap tempo (opposed to adjusting the tempo with a knob) is, that it’s easier to follow „human“ (i. e. varying) tempo.<br>
<br>
Ingo<br>
_______________________________________________<br>
Synth-diy mailing list<br>
<a href="mailto:Synth-diy@synth-diy.org" target="_blank">Synth-diy@synth-diy.org</a><br>
<a href="http://synth-diy.org/mailman/listinfo/synth-diy" rel="noreferrer" target="_blank">http://synth-diy.org/mailman/listinfo/synth-diy</a><br>
Selling or trading? Use <a href="mailto:marketplace@synth-diy.org" target="_blank">marketplace@synth-diy.org</a><br>
</blockquote></div>