[sdiy] Tap tempo question

mskala at ansuz.sooke.bc.ca mskala at ansuz.sooke.bc.ca
Tue Feb 2 22:58:25 CET 2021


On Tue, 2 Feb 2021, Mattias Rickardsson wrote:
> 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). 

Exponential weighting would make a lot of sense and would be easy to
implement, requiring only constant memory; and it's psychologically
plausible that someone tapping by hand would hit their desired tempo more
accurately with the last few taps than the earlier ones.

-- 
Matthew Skala
mskala at ansuz.sooke.bc.ca                 People before tribes.
https://ansuz.sooke.bc.ca/


More information about the Synth-diy mailing list