Page 1 of 1

Pitch detection for musical instruments tuner

Posted: Tue Oct 14, 2025 5:50 pm
by Xelaocram
Hi everyone,

I'm looking for a well-functioning and precise example of pitch detection with the autocorrelation algorithm...
With the FFT, I can achieve satisfactory resolution (hundredths of a semitone), but many musical instruments have harmonics with amplitudes greater than the fundamental, so it's not suitable.

I use the Arduino IDE.

Thanks

Re: Pitch detection for musical instruments tuner

Posted: Sun Oct 19, 2025 5:47 pm
by esp_man
So just scan through the entire FFT spectrum, looking for the first peak (even if it is not the largest).