Pitch Detector & Instrument Tuner
Detect the pitch of any note from your microphone and see the nearest musical note and how many cents sharp or flat you are. Runs entirely in your browser.
Click Start and allow microphone access, then play or sing a note.
—
— Hz
Pure browser JavaScript — uses getUserMedia and autocorrelation on Web Audio time-domain data.
How to use this tool
- Click Start tuner and allow microphone access.
- Play or sing a single steady note near the microphone.
- Read the detected note, frequency, and how many cents sharp/flat you are.
Detect the pitch of any note from your microphone and see the nearest musical note and how many cents sharp or flat you are. Runs entirely in your browser.
Frequently asked questions
- How is the pitch found?
- An autocorrelation algorithm runs on the raw time-domain waveform from the AnalyserNode to estimate the fundamental period, which is converted to a frequency and the nearest equal-tempered note (A4 = 440 Hz).
- Why does it say no note sometimes?
- If the signal is too quiet or noisy the detector returns no estimate. Play a clearer, sustained tone closer to the mic.