TabForge

Test chord recognition

A tool for finding out whether chords can be recognised through the microphone at all - and for setting the thresholds.

Back to the microphone practice
Microphone is off

What is sounding right now

One bar per pitch class. All octaves are merged - a C is a C, whatever the position.

C
C#
D
D#
E
F
F#
G
G#
A
A#
B

Target chord

What the incoming sound is compared against.

Root note

The note the chord is built on.

Major or minorMajor sounds bright, minor dark.

Match

E
Similarity0 %

Good for comparing, poor as a threshold: even flat noise reaches around 50%.

Energy on chord tones0 %

How much of what is heard belongs to the chord at all. Around 25% for noise.

Not recognised

All 24 chords, ranked

If the chord you played is not at the top, this shows what it was confused with.

  1. 1.C0 %
  2. 2.Cm0 %
  3. 3.C#0 %
  4. 4.C#m0 %
  5. 5.D0 %

Set the thresholds

They take effect immediately, without restarting the microphone.

Below this nothing is even looked for. Too high: quiet notes get missed. Too low: room noise sets it off.

Good for comparing, poor as a threshold: even flat noise reaches around 50%.

How much of what is heard belongs to the chord at all. Around 25% for noise.

Below about C3 the semitones sit closer together than the frequency resolution - energy smears into neighbouring pitch classes there.

Current values to copy into the code: minVolume = 0.010, minSimilarity = 0.85, minChordToneEnergy = 0.65, minMidiNote = 48

What this method cannot do