Hi I have a need to detect BPM from a metronome sample, I’ve made. The reason being it’s going into an app that has midi/OSC data out capabilities so I’ve come up with a work around.
So I’m making it play a 1 bar metronome sample, with the beep on the 1 being significantly louder. So I’m hoping to detect this louder beep and calculate BPM from it, I’m using this patch. If I test it at 125 it’s not always correct, it fluctuates roughly between 125.6 to 124.4. Is there anyway I can improve it’s accuracy?
— Pasted Max Patch, click to expand. —
Copy all of the following text. Then, in Max, select New From Clipboard.