On Wed, 2007-11-28 at 18:39 +0100, Rémi Thébault wrote:
By the way, for the moment I use FFTW for the
frequency identification.
Is there a way to identify a frequency with quite high precision without
computing a big spectrum analysis ?
For a 0.7 Hz precision with fft, I need 65536 samples, what will take a
lot CPU load every 1.5 sec.
It is obvious that so much CPU Load is no acceptable for a small plugin
in a realtime application.
There are a couple of algorithms that can get decent results with just a
couple of periods of data, but I think they all use some form of FFT or
convolution. A web search for autocorrelation and "fundamental
frequency" should find something.
--ll