audio.cihat.dev

Pitch detector

Sing, hum or play into the microphone, or open a recording. The pitch is drawn on a note grid as it goes.

Listen to

Your browser will ask for the microphone. Sound is analysed on this page and never recorded or sent anywhere.

–

 

How to use it

  1. Choose the microphone to follow your voice live, or an audio file to analyse a recording you already have.
  2. Live: press Start microphone, allow access and sing. File: drop an MP3, WAV or M4A; the first 10 minutes are analysed.
  3. Read the note and its offset in cents, then the summary: your typical note, the low and high end, and the notes you held longest.

What a pitch detector measures

Pitch is how high or low a sound is heard, and for a voice or a single instrument it follows the fundamental frequency: how many times per second the waveform repeats. This page finds that repetition with the YIN algorithm, a standard method that compares the sound with time-shifted copies of itself, and accepts a reading only when the repetition is clear.

Each reading is then named on the equal-tempered scale against A4 = 440 Hz. The cents figure tells you how far the sound sits from that note: +20 means a fifth of a semitone sharp.

Reading the summary

The typical note is the median of every pitched moment, so a few cracked or very short notes do not move it. The low and high ends are the 10th and 90th percentiles rather than the extremes, for the same reason. Notes heard most counts time, not how many times a note was sung.

A pitch detector follows one voice at a time. In a full mix with drums and chords it locks onto whichever part is loudest and periodic, which is often the bass or the lead vocal, and it leaves gaps where nothing repeats cleanly.

Questions people ask

How do I find out what note I am singing?

Press Start microphone, allow access and hold a note for a second. The large letter is the note, the small number the octave, and the cents show whether you are sharp (+) or flat (−).

Can it detect the pitch of an MP3 or a song?

Yes, open the file and the pitch is tracked across its first 10 minutes. It works best on a solo voice or instrument; with a full band it follows the strongest single line.

Is my voice recorded?

No. The microphone is analysed in your browser while the page is open. Files are decoded on your device and never uploaded.

What is the difference between pitch and frequency?

Frequency is the physical rate of vibration in hertz. Pitch is how high we hear it. For a clear periodic sound the two match, so this tool reports both: the frequency and the note it corresponds to.

Why does the trace break up?

Gaps are moments with no clear repetition: breaths, consonants, noise or silence. The detector leaves them out instead of guessing.