Perfect Pitch Trainer
Train your ear to identify musical notes by sound alone — the hallmark of absolute pitch. Choose from four difficulty levels, multiple instrument timbres, and adjustable octave ranges. Track per-note accuracy, discover which notes you confuse, and challenge yourself in speed mode — all processed locally in your browser.
Perfect Pitch Trainer
Per-Note Accuracy
Confusion Matrix (rows = played, columns = guessed)
Session History (last 20 rounds)
No rounds played yet.
How to Use the Perfect Pitch Trainer
-
Choose Your Settings
Select a timbre (sine wave, piano, guitar, or organ), an octave range, and a difficulty level. Easy mode uses just 4 notes (C, E, G, A) — perfect for beginners. Medium adds all white keys. Hard includes all 12 chromatic notes. Expert mode requires you to identify both the note name and the correct octave.
-
Listen & Identify
Click “Play Note” to hear a random note played with your chosen timbre. The note plays for about 1.5 seconds. Focus on the pitch and try to identify it internally before clicking an answer. Use “Replay” or press Space to hear it again. Use keyboard shortcuts 1–9, 0, Q, W for quick note selection.
-
Check Your Answer
Click the note you think was played in the answer grid. Correct answers flash green; wrong answers flash red with the correct note highlighted. The tool tracks your accuracy per note and builds a confusion matrix showing exactly which notes you mix up — so you know where to focus your practice.
-
Track & Improve
Monitor your score, streak, and per-note accuracy heatmap. Enable Speed Mode for timed rounds that push your reflexes. The confusion alert tells you which note pairs you confuse most often. Your high scores are saved to localStorage so you can track improvement across sessions.
How It Works
Timbre Synthesis
Each timbre is synthesized in real time using the Web Audio API. Sine wave uses a pure OscillatorNode. Piano uses additive synthesis with exponentially decaying harmonics that mimic hammer-struck strings. Guitar simulates a plucked string using Karplus-Strong-inspired harmonics with a bright attack and quick decay. Organ uses additive synthesis with sustained drawbar-style harmonics (1st, 2nd, 3rd, 4th, and 8th partials).
Note Frequency Calculation
All note frequencies are computed from A4 = 440 Hz using the equal temperament formula:
f = 440 × 2^((n − 69) / 12), where n is the MIDI note number.
This ensures mathematically precise tuning across all octaves.
Confusion Matrix & Analytics
The confusion matrix tracks every answer: rows represent the note that was played, columns represent your guess. Cells are color-coded by frequency — hot cells indicate commonly confused pairs. The tool automatically identifies your most-confused note pairs and surfaces them as actionable suggestions.
Frequently Asked Questions
What is perfect (absolute) pitch?
Perfect pitch, also called absolute pitch, is the ability to identify or produce a musical note without any reference tone. While some people are born with this ability, research shows that ear training can significantly improve note identification skills in anyone. This trainer helps you develop that skill through repeated practice with immediate feedback.
How long does it take to develop note recognition?
Most people can reliably identify 4 notes (Easy mode) within 1–2 weeks of daily 10-minute sessions. Recognizing all 7 white keys typically takes 3–6 weeks. Mastering all 12 chromatic notes can take several months of consistent practice. Short daily sessions are more effective than occasional long sessions.
Why are there different timbres?
Training with multiple timbres (sine, piano, guitar, organ) ensures your pitch recognition is based on fundamental frequency rather than tone color. If you only train with one sound, your brain might learn to recognize the timbre pattern rather than the actual pitch. Varying timbres forces true pitch recognition and makes your skill transferable to real-world listening.
What does the confusion matrix show?
The confusion matrix is a grid where rows represent the note that was played and columns represent your guess. The diagonal cells show correct answers. Off-diagonal cells show mistakes — for example, if the cell at row F# / column G has a high count, it means you often guess G when F# was played. This helps you identify specific note pairs to focus on during practice.
What is speed mode?
Speed mode adds a countdown timer to each round. You have 5 seconds to identify the note after it plays. If time runs out, the round counts as incorrect. This trains not just accuracy but also reaction speed, which is important for practical applications like transcribing music or tuning instruments quickly.
Is any data uploaded or stored on a server?
No. All audio synthesis, scoring, and analytics happen 100% locally in your browser using the Web Audio API. Your scores and statistics are saved to your browser’s localStorage for persistence between sessions, but nothing is ever sent to any server. The tool works completely offline once loaded.
Related Tools
Solfege Note Trainer
Practice solfege syllables (Do, Re, Mi) with interactive exercises and ear training drills.
Try it →Ear Training
Train your ears to identify EQ frequency bands with gamified exercises across 4 difficulty levels.
Try it →Music Note Detector
Detect musical notes in real time from your microphone with pitch visualization and cent accuracy.
Try it →