I'm "detecting" the difference between 2 temporal windows.
I take a part of the temporal signal and I do a FFT. After I keep the most important frequencies using a threshold. The threshold is arbitrary (but it's not a good solution).
To calculate the difference between two temporal windows, I do a ratio between the same frequencies keeped and the total number of frequencies used.
It's not a great method, because I'm using a first order filter.
When I searching a method, I have seen this algorithm in C++ for a beat detector : http://files.codes-sources.com/fichier.aspx?id=53536&f=Beat+Detector%2fBeatDetector.cpp (it's a french source code)
I take a part of the temporal signal and I do a FFT. After I keep the most important frequencies using a threshold. The threshold is arbitrary (but it's not a good solution).
To calculate the difference between two temporal windows, I do a ratio between the same frequencies keeped and the total number of frequencies used.
It's not a great method, because I'm using a first order filter.
When I searching a method, I have seen this algorithm in C++ for a beat detector : http://files.codes-sources.com/fichier.aspx?id=53536&f=Beat+Detector%2fBeatDetector.cpp (it's a french source code)