Ear Pitch Trainer

Advertisement

Hear a target note, then sing or play it back. The pitch gauge shows how close you are in real time.

Microphone
Monitor is on. Use headphones to prevent audio feedback.
Order: Sequence order. Random: shuffled notes. Up: ascending low-to-high. Down: descending high-to-low. Up/Down: alternates direction.
Advance: Auto: move to next note after matching. Manual: stay on current note until you click Next.
Continuous mode works best with headphones to prevent audio feedback.
Target: --
4
--
Score: 0/0 Streak: 0 Avg: -- Range: C3–C5

Microphone access is needed to detect your pitch.

Find Your Range

Select your estimated middle note, then go up to find your highest and down to find your lowest comfortable note.

3
Advertisement

About This Tool

Develop your musical ear with this interactive pitch training tool based on the Kodály method and established music pedagogy. The tool plays a reference note, then listens through your microphone as you sing or play it back, showing real-time pitch accuracy on a visual gauge measured in cents (hundredths of a semitone). Train with six standard vocal ranges—soprano, mezzo-soprano, alto, tenor, baritone, and bass—or detect your range automatically. Five progression sequences build skills from simple pentatonic patterns through full chromatic scales. Uses autocorrelation pitch detection via the Web Audio API (W3C) with A440 reference tuning (ISO 16:1975). All processing runs locally in your browser—no recordings are stored or transmitted.

Sources: Wikipedia · MDN

Ear Training Fundamentals

Ear training—the ability to identify and reproduce musical pitches and intervals—is one of the most fundamental skills in music education. The concept dates back to Guido d'Arezzo's solmization system in the 11th century, which assigned syllables (ut-re-mi-fa-sol-la) to scale degrees, forming the basis of solfège still used today. The Kodály method, developed by Hungarian composer Zoltán Kodály in the mid-20th century, emphasizes singing as the primary instrument for developing musical literacy. His approach starts with simple pentatonic patterns (using only five notes) before gradually introducing more complex intervals. Research published in the Journal of Research in Music Education has shown that Kodály-trained students demonstrate significantly better pitch accuracy and sight-reading ability. Relative pitch—the ability to identify intervals between notes—can be developed by anyone through consistent practice. Absolute (perfect) pitch, the ability to identify any note without a reference, is rare (estimated in less than 1 in 10,000 people) and appears to have both genetic and early-training components. Modern research suggests that short, frequent practice sessions (10–15 minutes daily) are more effective than longer, infrequent sessions. The brain's auditory cortex strengthens neural pathways through repetition, and pitch discrimination improves measurably within weeks of regular training.

How to Use

  1. Select your voice type or use Find My Range to detect it automatically.
  2. Choose a progression, difficulty, and playback mode.
  3. Click Start Training. Listen to the reference note, then sing or play it back.
  4. Match the target pitch within the accuracy threshold to advance.

How to Use

  1. Select your voice type or use Find My Range to detect it automatically.
  2. Choose a progression, difficulty, and playback mode.
  3. Click Start Training. Listen to the reference note, then sing or play it back.

Methodology

Pitch detection uses autocorrelation analysis of real-time microphone input to identify the fundamental frequency. The algorithm compares the audio signal with time-shifted copies of itself, finding the lag that produces maximum correlation—this corresponds to the fundamental period, from which frequency is calculated. This method is robust against harmonic overtones that can confuse simpler detectors. Note matching uses the 12-tone equal temperament system (12-TET) with A4 = 440 Hz as the reference (ISO 16:1975). Accuracy is measured in cents, where 100 cents equals one semitone. The just-noticeable difference (JND) for pitch is approximately 5–10 cents for trained musicians, which is why the hard difficulty requires ±10 cents accuracy. Vocal range presets follow standard Western classifications: soprano (C4–C6), mezzo-soprano (A3–A5), alto (F3–F5), tenor (C3–C5), baritone (A2–A4), and bass (E2–E4). Training progressions follow the Kodály method, starting with pentatonic scales (do-re-mi-sol-la) to build intervallic hearing before introducing the full diatonic scale, minor scales, and chromatic patterns.

Sources: Wikipedia · MDN

Understanding Your Results

The pitch gauge shows how close your sung or played note is to the target. Green indicates you're within the accuracy threshold—the closer to center, the more precise your pitch. Yellow means you're close but outside the threshold, and red indicates a significant deviation. Cents deviation measures how far you are from the target note: 0 cents means perfect pitch match, ±50 cents puts you halfway to the adjacent semitone, and ±100 cents means you've reached the neighboring note entirely. Trained musicians typically achieve accuracy within ±10–15 cents consistently. Your session score tracks the percentage of notes matched successfully. A score above 80% indicates strong pitch recognition at your current difficulty level—consider advancing to the next difficulty or a more complex progression. Common patterns to watch for: consistently sharp (high) singing may indicate tension in your vocal cords; consistently flat (low) singing often suggests insufficient breath support. If you're always off by exactly 100 cents, you may be hearing the note correctly but singing in a different octave.

Practical Examples

A choir singer uses the pentatonic progression at medium difficulty to warm up before rehearsal, gradually improving their ability to match pitch within ±15 cents of each target note. A guitar student practices the chromatic progression to develop their ear for subtle pitch differences, helping them tune by ear rather than relying on an electronic tuner. A voice teacher assigns the major scale progression at hard difficulty as homework, using the session scores to track a student's improvement in pitch accuracy over several weeks of lessons.

Tips for Effective Ear Training

Start with the pentatonic progression on easy difficulty. The five-note pentatonic scale avoids the half-step intervals that are hardest to hear, building your confidence before tackling more challenging patterns. Use the Find My Range feature before your first session. Singing notes outside your comfortable range forces compensating technique that makes pitch accuracy harder to achieve. Listen to the full reference tone before attempting to match it. Let the pitch settle in your mind's ear before singing—rushing leads to overshooting or undershooting the target. Practice in short daily sessions rather than long weekly ones. Research consistently shows that 10–15 minutes of daily ear training produces faster improvement than hour-long sessions once a week. If you're consistently flat on higher notes, focus on breath support—insufficient air pressure is the most common cause. If consistently sharp, try relaxing your jaw and throat muscles. Use Free Practice mode between structured sessions to explore your voice without pressure and build comfort with the microphone feedback.

All calculations are performed locally in your browser. No data is sent to any server.

Was this tool helpful?
Want to tell us more?
0/500
Want us to follow up?
Thanks for your feedback!

Frequently Asked Questions

What is ear training and why is it important?
Ear training is the process of developing the ability to identify and reproduce musical pitches, intervals, and patterns by ear. It is a foundational skill in music education, essential for singing in tune, playing by ear, improvisation, and ensemble performance. The Kodály method, developed by Hungarian composer Zoltán Kodály in the mid-20th century, emphasizes starting with the pentatonic scale (do-re-mi-sol-la) to build intervallic hearing before introducing more complex patterns. Regular practice improves pitch perception, musical memory, and the connection between what you hear and what you produce vocally or instrumentally.
How does the pitch detection work?
The tool uses autocorrelation analysis of microphone input via the Web Audio API to identify the fundamental frequency of your voice or instrument. Autocorrelation works by comparing a signal with delayed copies of itself to find periodic patterns, which correspond to the pitch. The detected frequency is then compared against the equal temperament tuning system (where each semitone is a ratio of 2^(1/12) to the next) using A440 as the reference pitch, as defined by ISO 16:1975. The difference between your pitch and the target note is expressed in cents, where 1 cent equals 1/100 of a semitone. All processing happens locally in your browser using the Web Audio API analyzer node.
What are the different progressions?
Progressions determine which notes are presented during training, following Kodály method principles. Pentatonic uses the five-note scale (do-re-mi-sol-la) which avoids semitones and is the easiest to sing in tune. Major Scale uses all seven notes of the major scale (do-re-mi-fa-sol-la-ti). Natural Minor uses the natural minor scale with its characteristic lowered 3rd, 6th, and 7th degrees. Chromatic includes all twelve semitones within the octave, the most challenging progression. Random selects notes from the chromatic scale in unpredictable order. Starting with pentatonic and progressing through major, minor, and chromatic follows the established pedagogical sequence for developing relative pitch.
How does the vocal range test work?
The vocal range test guides you through an ascending and descending sequence of notes to find your comfortable singing range. During the ascending phase, notes progress upward from a starting pitch until you can no longer match the target note reliably. The descending phase works the same way downward. Based on the highest and lowest notes you can comfortably produce, the tool suggests a voice type classification following standard Western vocal pedagogy: soprano (C4-C6), mezzo-soprano (A3-A5), alto (F3-F5), tenor (C3-C5), baritone (G2-G4), or bass (E2-E4). You can accept the suggestion or manually adjust the range to suit your preferences.
What do the difficulty levels mean?
Difficulty levels control how precisely you need to match the target pitch to receive a positive rating. Beginner allows a wider tolerance (approximately ±50 cents, or half a semitone), making it easier to score hits while you develop your ear. Intermediate narrows the tolerance (approximately ±25 cents), requiring better pitch control. Advanced demands near-exact matching (approximately ±10 cents), suitable for trained singers and musicians. Expert requires very precise intonation (approximately ±5 cents), challenging even for experienced performers. As you improve, gradually increase the difficulty to refine your pitch accuracy.
Why should I use headphones in continuous mode?
In continuous playback mode, the reference note keeps playing while the microphone listens for your voice. Without headphones, the microphone picks up the reference tone from your speakers, causing audio feedback that confuses the pitch detection algorithm. The detector may lock onto the speaker output instead of your voice, giving inaccurate readings. Headphones isolate the reference sound in your ears so the microphone only captures your singing or playing. In brief mode this is less of an issue because the reference tone stops before the microphone begins analyzing your pitch.
What are HD sounds?
By default, the tool generates instrument timbres using Web Audio API oscillators and synthesis techniques, which are lightweight and load instantly. HD sounds are higher-quality audio samples of real instruments (piano, guitar, flute, organ) that provide a more natural and realistic listening experience. Because these samples are larger files, they are loaded on demand when you click the Load HD Sounds button. Once loaded, they replace the synthesized versions for all subsequent note playback in the session. If the HD sounds fail to load (due to network issues), the tool continues using the synthesized versions without interruption. HD sound samples are from the FluidR3 GM soundfont, licensed under CC-BY 3.0.
How accurate is the pitch detection?
The autocorrelation-based pitch detection is typically accurate to within ±2-3 cents for clear, sustained tones in a quiet environment. Accuracy depends on several factors: microphone quality (built-in laptop microphones work but external microphones give better results), background noise (quiet rooms improve detection), and signal clarity (sustained notes are detected more reliably than quick, quiet, or breathy sounds). The detection works best in the range of approximately 80 Hz to 1000 Hz, which covers most singing voices and common instruments. Very low bass notes or very high soprano notes near the edges of this range may show slightly reduced accuracy. For best results, sing or play at a moderate volume in a quiet space.
How long does it take to develop good pitch recognition?
Most people see noticeable improvement within 2-4 weeks of regular practice (10-15 minutes daily). About 80% of progress in relative pitch recognition can be achieved within 4-6 months. The key is consistency — short daily sessions are more effective than occasional long ones. The Kodály-inspired progression system in this tool starts with simple pentatonic intervals and gradually introduces more challenging chromatic patterns, building your ear naturally over time.
Can I practice with my instrument instead of my voice?
Yes. The pitch detection works with any sound source picked up by your microphone — singing, humming, whistling, or any acoustic instrument. Electric instruments work too if played through a speaker near the microphone. For best results with instruments, play single sustained notes rather than chords, and use headphones so the reference note does not interfere with the microphone pickup.
What is the difference between relative pitch and perfect pitch?
Perfect (absolute) pitch is the rare ability to identify or produce any musical note without a reference — most estimates suggest fewer than 1 in 10,000 people have it naturally. Relative pitch is the ability to identify notes by comparing them to a known reference pitch, and it can be learned by anyone through practice. This tool trains relative pitch: you hear a target note, then match it by ear. Relative pitch is equally valuable for practical musicianship — most professional musicians rely on well-trained relative pitch rather than perfect pitch.
Do I need any musical background to start ear training?
No musical background is needed. The tool is designed for complete beginners through advanced musicians. Start with the pentatonic progression (the easiest), which uses just five notes — the same scale found in folk songs worldwide. As your ear develops, you can progress to major, minor, and chromatic patterns. The real-time visual feedback shows you exactly how close your pitch is, making it intuitive even if you have never studied music theory.
What does the streak counter mean and how does scoring work?
The streak counter tracks how many notes you match correctly in a row. A longer streak indicates improving consistency and ear accuracy. Your score considers both pitch accuracy (how close in cents you are to the target note) and response time. Matching a note within ±10 cents is considered excellent, within ±25 cents is good, and within ±50 cents (one quarter-tone) counts as a match. The streak resets if you miss a note or skip it, encouraging focused practice.