I've spent the last couple of days trying to set up a BPM detection from MIDI playing. It somehow works, based on the idea of checking time distances between last notes played. I'm searching ways to improve it, as well as share it for anyone who wants to test it :)
I'm not so good at maths, I've been reading about using autocorrelation here, but what I have is an array of discrete timed "occurences" and I could not figure out how to apply it.
Anyone has any idea on how to make it more stable or faster?