How to get the main frequency from the FFT?

I am developing a flash guitar, and the only obvious method of detecting the frequency of microphone data is to use FFT. However, after about 30 hours of research, I could not find a better way to do this. Should I use harmonic product spectrum (HPS), cepstrum, or maximum likelihood? The tuner will have to show a frequency of 25 to 3000 Hz.

Also, if someone knows about some kind of open source code ready to find the main frequency, please tell me. I can translate it into ActionScript.

Thank!

+1
source share
3 answers

, , FFT, . , FFT .

:

+4

: , ?

+2

FFT is not the best way to find the main frequency of a musical instrument. In fact, yes, it would be better to use a cepstrum. Here you can find similar questions: Algorithm for determining the fundamental frequency from potential harmonics and here: MATLAB - Absence of fundamental from FFT

0
source

All Articles