Why Your Web Audio Tuner Sucks at Low Notes (and What to Use Instead of FFT)
javascript
dev.to
The first thing anyone reaches for when building a pitch detector in the browser is AnalyserNode.getFloatFrequencyData() — the FFT magnitude spectrum. It works, and then it fails the instant you plug in a guitar and play the low E. Here's why, and what to do about it. Sub-cent-accurate tuning from ~80 lines of autocorrelation. No dependencies. Plain JS. 🎙 Demo: https://sen.ltd/portfolio/pitch-detector/ 📦 GitHub: https://github.com/sen-ltd/pitch-detector The symptom — FFT-based tun