PitchDetect

Online Pitch Detector

Find the note, frequency, and tuning accuracy of an instrument or voice in real time.

detector_title

signal_waiting_hint

private_badge

step_allow · step_play

A4 = 440 Hz

YIN / LOCAL DSP

How this pitch detector works

PitchDetect measures repeating patterns in the microphone signal with the YIN method, converts the frequency to the nearest equal-tempered note, and reports the difference in cents.

Local by design

The signal stays in memory on your device. Stopping or leaving the page closes the microphone stream and audio context.

Filtered for useful results

A noise gate, confidence threshold, and multi-frame smoothing prevent weak or unstable sounds from appearing as certain notes.

For instruments and voice

Use it with guitar, bass, strings, brass, woodwinds, piano tones, humming, or a sustained singing voice.

Pitch detector FAQ

Answers about pitch, tuning, privacy, and troubleshooting.

How does an online pitch detector identify a note?

It analyzes the repetition period of an audio waveform, estimates its fundamental frequency, and maps that frequency to the nearest musical note. PitchDetect uses YIN plus confidence and stability checks.

What does A4 = 440 Hz mean?

It sets the A above middle C to 440 cycles per second. Other equal-tempered notes are calculated from that reference. You can adjust the reference from 420 to 460 Hz.

What are cents in tuning?

A cent is one hundredth of a semitone. Negative cents are flat, positive cents are sharp, and values close to zero are in tune with the selected reference.

Is my microphone audio private?

Yes. Analysis runs locally in your browser. PitchDetect does not record, upload, or persist microphone audio, and Stop closes the active media tracks.

Why is no note showing?

Check microphone permission and the selected input, move closer, reduce background noise, and hold one steady note. Weak or unstable input is intentionally withheld. Singers can select their voice range if the octave appears wrong.

Can I use it for both instruments and vocals?

Yes. It works best with a clear, sustained, mostly monophonic sound. Chords, heavy effects, room echo, and background music can make the fundamental pitch ambiguous.