Using pitch detection in FFT

Hi,

I am currently developing an automatic guitar tuner. I will be using an FFT algorithm and i was just wondering if pitch detection is useful or/and necessary?

Thanks

"Pitch" is human perception of audio frequency, and is not linear.

FFTs measure frequency and amplitude at that frequency, in frequency bins.

For tuning a guitar, you may find an autocorrelation function more reliable and accurate than FFT.

i was just wondering if pitch detection is useful or/and necessary?

Well... How do you expect to determine if the guitar is in-tune without knowing the pitch (or frequency)?

I've never made a guitar tuner and what I've read most people are not successful. :frowning: But from what I've read, [u]autocorrelation[/u] works better than FFT for FHT for making a tuner.

Look up the YIN algorithm which, by the way, requires a fair amount of CPU horsepower. You won't be doing that on an UNO or MEGA. Better to look at a Teensy 3.2 or 3.6 with the audio add-on board.

Pete