I'm looking for an algorithm that uses durations to estimate tempo.
My simple strategy was to use LCM to estimate the tempo.
On the first test I feed LCM with 3 durations (250ms, 500ms, 333ms) and received 166500. Not good.
I assume that autocorrelation and train impulses could be used for this, but I do not have the math skills to code that right now.
Any ideas?