Browser-based music tool · intervals, chords, scales and singing

Ear Training Practice

Practise recognising intervals, chord qualities, inversions, modes, progressions and bare note names, or sing an interval and see how many cents you were off. Questions you miss come back sooner, and your accuracy and confusions are kept only in this browser.

Exercise

Name the interval between two notes.

Intervals
Direction

Each question is one of 5 items; ones you miss are asked more often, with a random register or key every time.

This session

No answers yet.

Question

Press Start to hear the first question. Nothing is scored until you answer.

Your record for this exercise

ItemAskedRightBox (1 to 5)
Minor 3rd, going up0–1
Major 3rd, going up0–1
Perfect 4th, going up0–1
Perfect 5th, going up0–1
Octave, going up0–1

The confusion table fills in as you answer: it shows which answers you give when the right one was something else.

Ear Training Practice

Operator: Abdulla Al Fahad. How tools are built and checked

Knowing that a major third sounds bright and a minor third sounds sad is not the same as telling them apart in four seconds, and the way to close that gap is repetition on the pairs you actually confuse. This page plays an interval, chord, scale, progression or single note, takes your answer, and remembers which items you miss: those come back sooner, and a confusion table shows what you said when the answer was something else. You can answer with buttons, an on-screen keyboard, a MIDI keyboard or your own voice.

Key features

  • Seven exercises: intervals (up, down or together), chord quality, chord inversions, scales and modes, diatonic progressions, note names and singing an interval
  • Twelve intervals, ten chord types, twelve scales and modes and eight progressions, each with its own pool you can narrow
  • A piano-like additive synth, so the notes decay the way a struck string does
  • Answers by buttons, a two-octave on-screen keyboard, Web MIDI input, or the microphone with pitch tracking in cents
  • Five Leitner boxes, an accuracy record per item and a confusion table, saved in this browser only

What each exercise plays and how an answer is judged

Every sound is generated, in equal temperament with A4 at 440 Hz, so an interval of n semitones is exactly n times 100 cents. Intervals are played as two notes in sequence or together, chords as a block or an arpeggio, scales ascending with the octave on top, and progressions as close-position triads in a random key. Progress is kept in this browser's localStorage under one key: the box and due time of every item, the number asked and right, and the confusion counts. Nothing is sent anywhere, Erase saved progress clears it, and if the browser blocks storage the exercise still works and a note says so.

How it works

Each question is one item, such as interval:m3:up or scale:dorian, and the register or key is random every time, so the item is the thing you learn and not a particular recording. Items are chosen with weights: a missed item drops to box 1 and is due at once, due items count several times more than ones not due, and lower boxes are favoured over higher ones. The item just asked is skipped while others exist.

An answer by buttons is right when it equals the item. An answer on a keyboard counts as right when its note name equals the target note, in any octave, which for an interval means playing the second note. The record notes what you chose for the confusion table, converting the key you pressed back into an interval.

Singing records three seconds of the microphone as raw samples and finds the pitch with the YIN method over 20-millisecond steps. Your note is the median of the frames that are clear and loud enough, after the first 0.4 seconds, and the error is measured in cents against the target, ignoring whole octaves.

Common use cases

  • A guitarist narrows chords to major, minor and dominant 7th, plays them as arpeggios, and finds the page keeps handing back the dominant 7th.
  • A music student working toward an exam drills all twelve intervals going down, where recognition is usually weaker than going up.
  • A choir singer uses Sing the interval with the major sixth and minor seventh only, and watches the cents error shrink over a week.
  • A jazz pianist plays the answer for note names on a MIDI keyboard, in any octave, to test relative against absolute pitch.

How to use this tool

  1. Pick an exercise and narrow its pool to the items you want, then press Start.
  2. Listen, answer by buttons or keys, and read the feedback; press Next question or Play again.
  3. For singing, wear headphones, press Sing it after the note ends, and sing for three seconds.
  4. Open your record to see accuracy per item and which wrong answers you give.
  5. Come back later: items you missed are asked first.

Example

Practice: interval exercise with the minor 3rd, major 3rd, perfect 4th, perfect 5th and octave, going up

Ask for ten questions; answer a major 3rd as a perfect 4th twice and everything else correctly

Record after ten questions

The major 3rd going up is in box 1 with 3 asked and 1 right (33%) and is asked more often than the items you answered correctly
The confusion table shows a 2 in the row Major 3rd and column Perfect 4th
A 40-cent-flat attempt at singing a perfect 5th counts as the right note (within 50 cents) and reports 40 cents flat

Common pitfalls

The page cannot judge a sung note in a noisy room or through speakers: it hears the played note too. Headphones matter.

The synth is clean and equally tempered. Real instruments have detuned strings and room sound, so a good score here does not promise the same on a guitar.

Progress lives in this browser and device only. Clearing site data or switching browsers starts from nothing.

  • Narrow the pool to two or three items you confuse. The weights then keep returning to them, which a full pool of twelve would dilute.
  • Use the harmonic (together) direction for chord work and the melodic ones for naming intervals; they train different cues.

Common errors and how to fix them

No steady sung note was heard
Hold one clear note for about a quarter of a second or longer, a little louder, and try again; the pitch tracker needs voiced frames above about -50 dB.
The browser has no Web MIDI support
Chrome, Edge, Opera and Firefox (from version 108) support it; Safari does not. Use the on-screen keyboard or the buttons there.

Tuning and spelling

Every interval is generated from the equal-temperament formula, so n semitones is n times 100 cents to floating-point precision, and the notes sit about 0.3 cents from absolute A440 because of the synth's tuning of its oscillators. C major's triads and the progressions come out in the textbook spellings: I, V, vi, IV in C is C E G, G B D, A C E, F A C, and ii, V, I is D F A, G B D, C E G.

Singing is tracked with the YIN method, which reads clean synthetic tones closely but follows a real voice less steadily, because a voice drifts and wobbles; read the cents figure as a guide, not a measurement.

Frequently asked questions

Why does a sung octave off still count as in tune?

Voices differ in range, so the error is taken modulo an octave. The result line tells you if you were an octave away, so you know.

How soon does a missed item come back?

At once. A miss drops the item to box 1 and makes it due immediately, and due items are drawn several times more often than the rest, though the item just asked is skipped while others exist.

Can I add my own intervals or chords?

No. The pools are the ones listed; the page has no editor for new items.