3 ms·
Thanks, I haven't heard of the Goertzel algorithm. It's a spectrum-based detection though, so it will have the same issues as other spectrum detectors. Lower n
by apankrat 6y ago
Thanks, I haven't heard of the Goertzel algorithm.
It's a spectrum-based detection though, so it will have the same issues as other spectrum detectors. Lower notes tend to have harmonics that are stronger than the base frequency. At least on a piano. Similar issue with mid-range notes that are fading - the fundamental frequency will fade quicker than the harmonics. There's also a separate issue with detecting higher-pitch notes, because the spectrum response to these is very weak.
That is, spectrum alone is not enough to do any sort of reliable note detection. That's where I started too, but none of simple approaches worked well.
[1] https://en.wikipedia.org/wiki/Goertzel_algorithm https://en.wikipedia.org/wiki/Goertzel_algorithm
- xchip 6y agoThen try this one https://blog.tensorflow.org/2020/06/estimating-pitch-with-spice-and-tensorflow-hub.html https://blog.tensorflow.org/2020/06/estimating-pitch-with-sp... There is a online demo here https://tfhub.dev/google/lite-model/spice/1 https://tfhub.dev/google/lite-model/spice/1