A pitch detector that shows the note you sing.
Sing or hum and see the note, how many cents sharp or flat you are, and the line your voice draws. Every note you hold is written out, so you can see the tune. It listens in your browser and records nothing.
Sing any note
Your voice draws a line like the dashed one. Allow the microphone if your browser asks.
– Sing a note
Listening
Listening
Want the tune written down?
Song Cage takes a sung melody and writes it as notes on a timeline, rhythm and all, under your lyrics, then suggests chords that fit it.
Sing a melody into a songFree for one song in your browser. No credit card required.
How the pitch detector works
Press Start and sing, hum or play a note. About sixty times a second the page takes the newest slice of sound from the microphone, finds how often its wave repeats, and turns that into a frequency and a note. The method is YIN, a pitch estimator published by Alain de Cheveigné and Hideki Kawahara in the Journal of the Acoustical Society of America in 2002 and widely used for voices. It looks for the shortest repeat in the wave, which keeps it from reading a note an octave low. Song Cage is a songwriting app for chords, lyrics and melody, and this is the same detector it uses when you sing a melody into a song.
The large note name is steadied over the last few readings so it holds still on a held note, while the needle and the cents figure follow every wobble. The piano roll shows the last six seconds: your voice is the solid line, and the note it is on lights up on the keyboard at the left. The roll follows your voice up and down, about two octaves at a time. Every note you hold for a quarter of a second joins the row along the bottom, so a tune you hum is written out as you go.
Nothing is recorded. Each slice of audio becomes a number and is thrown away, and the microphone switches off when you press Stop or leave the tab.
Sharp, flat and cents
A cent is a hundredth of a semitone: 100 cents from one piano key to the next, 1,200 in an octave. The meter shows how far your note sits from the nearest note on a piano tuned to A4 = 440 Hz. Right of centre is sharp, too high; left is flat, too low. Within 10 cents either side it reads In tune. Past 50 cents you are nearer the next note, and the note name changes.
Even a steady singer moves around the note. Vibrato swings the pitch above and below it several times a second, and the start of a note often scoops up from below. Judge a held note by where the needle settles, not by every flick. If you want to know whether you can land on a note you hear, the tone deaf test plays one and scores how close you sing it back.
Note frequencies
Each octave doubles the frequency, so A3 is 220 Hz, A4 is 440 Hz and A5 is 880 Hz. These are the notes the detector is most often asked about, from the guitar’s low E to a soprano’s high C.
| Note | Frequency | Where you meet it |
|---|---|---|
| E2 | 82.41 Hz | The lowest string on a guitar, near the bottom of a bass voice |
| A2 | 110.00 Hz | The guitar’s fifth string |
| C3 | 130.81 Hz | Low in a tenor’s range |
| A3 | 220.00 Hz | The A below middle C |
| C4 | 261.63 Hz | Middle C |
| A4 | 440.00 Hz | The note orchestras tune to |
| C5 | 523.25 Hz | The top of a tenor’s range, “tenor high C” |
| A5 | 880.00 Hz | High in a soprano’s range |
| C6 | 1,046.50 Hz | A soprano’s high C |
What to use it for
- Check a held note. Sing a note and hold it. If the needle settles to one side, you know which way to move, and by how much.
- Write down a tune you hum. The row along the bottom is the melody, one note at a time. It shows the notes but not the rhythm; Song Cage’s melody capture writes both.
- Find the edges of your voice. Slide slowly from your lowest note to your highest and back. Gaps in the line show where your voice cracks or changes register. The vocal range test turns those two notes into a range, a voice type and the keys that fit.
- Tune a guitar roughly. Pluck a string and turn the peg until the cents figure is near zero. Standard tuning, from the lowest string: E2 (82.41 Hz), A2 (110.00 Hz), D3 (146.83 Hz), G3 (196.00 Hz), B3 (246.94 Hz), E4 (329.63 Hz).
Common questions
What note am I singing?
Press Start and sing on “ah”. The large note name at the top of the pitch detector is the note you are singing, with its octave number: middle C is C4, and A3 is the A below it. The piano roll shows your last six seconds of singing as a line, and every note you hold for a quarter of a second is added to the row along the bottom, so a tune you hum is written out note by note.
How accurate is an online pitch detector?
On a steady test tone this one reads within a couple of cents, far finer than the hundred cents between two piano keys. A real voice wobbles more than that, so expect the needle to move a little even on a held note. What limits any detector is the sound reaching it: breathy or very quiet notes, the very bottom of a low voice on a laptop microphone, and other sounds in the room. It reads notes from about D2 (73 Hz) up to E6 (1,319 Hz).
What is a cent in music?
A cent is a hundredth of a semitone. There are 100 cents between neighbouring piano keys and 1,200 in an octave. The pitch detector shows how many cents your note sits above the nearest note (sharp) or below it (flat), on a piano tuned to A4 = 440 Hz.
Why does the needle move when I hold a note steady?
Because no voice holds perfectly still. Vibrato swings the pitch above and below the note several times a second, and most notes start with a small scoop up from below. The note name is steadied over the last few readings so it holds still, while the needle and the cents figure show every movement. Judge a held note by where the needle settles.
Why did it show the right letter in the wrong octave?
Low notes are the usual cause. A small microphone picks up the overtones of a low note better than the note itself, and a detector can land an octave away from them. This one looks for the shortest repeat in the sound wave and checks the octave above before it believes a low reading, which avoids most of these errors. Singing a little louder and closer to the microphone, or using a headset microphone, fixes the rest.
Can I tune a guitar with the pitch detector?
Yes, roughly. Standard tuning from the lowest string is E2, A2, D3, G3, B3 and E4. Pluck one string, let it ring, and turn the peg until the cents figure is close to zero. The In tune zone on the meter is ten cents either side, wider than a guitar tuner’s, so for a close tuning watch the number rather than the word. A bass guitar’s low E, at 41 Hz, is below the range the detector reads.
Does the pitch detector record my voice?
No. The page reads the microphone a fraction of a second at a time, works out the note and throws the audio away. Nothing is saved or sent anywhere, and the microphone switches off when you press Stop or leave the tab.
Is the pitch detector free?
Yes. There is no account and nothing to install. It runs in any current browser with a microphone, on a phone or a computer.
More for your voice
- Vocal range test Sing your lowest and highest notes to see your range, your voice type and the keys a song will sit best in.
- Tone deaf test The page plays a note, you sing it back, and it scores how close you got across eight notes.
- Sing a melody into a song Hum the tune and Song Cage writes the notes onto the timeline, under your lyrics.
Sing the tune into a song
Song Cage writes down the melody you sing, note by note on a timeline under your lyrics, and suggests chords that fit it. Free for one song in your browser. No credit card required.
Start writing for free →Or try Song Cage for Mac and Windows free for 14 days, AU/VST3 plugin included.