This project has moved. For the latest updates, please go here.

Beats Per Minute from live drum stream

Feb 20, 2013 at 5:49 PM
How would I use NAudio to get a BPM count from a live stream of a drum track? This should be fairly easy, as each drum strike counts as a beat, so the processing required isn't complex (I guess), but I am unsure how to go about detecting the peaks in the signal.
Feb 20, 2013 at 10:57 PM
I think you have to capture the signal and then process an Fast-Fourier-Transform to detect low-frequencie-peaks only (its not enough to search for peaks), for example below 120 Hz. It`s some sort of complex - but if you find a FFT-Method it would not that hard when you only look for low-frequency peaks.

Please excuse my bad english.
Feb 21, 2013 at 3:10 PM
Thanks for that advice Z74.