A tool for finding out whether chords can be recognised through the microphone at all - and for setting the thresholds.
Back to the microphone practiceOne bar per pitch class. All octaves are merged - a C is a C, whatever the position.
What the incoming sound is compared against.
The note the chord is built on.
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.
Not recognised
If the chord you played is not at the top, this shows what it was confused with.
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