The Maths Behind A Chord Recognition Engine
The article discusses the development of the WhatChord tool, which helps identify musical chords programmatically. It explains the challenges of chord classification due to the varied ways musicians construct and name chords. WhatChord uses a scoring algorithm to evaluate the presence of specific notes and determine the most likely chord.
- ▪WhatChord is a tool designed to identify musical chords from their component notes.
- ▪The tool uses a scoring algorithm that weights required notes and penalizes incorrect ones.
- ▪It accounts for various musical contexts and ambiguous tones to improve accuracy.
Opening excerpt (first ~120 words) tap to expand
The Maths Behind A Chord Recognition Engine No comments by: Zoe Skyforest May 22, 2026 Title: Copy Short Link: Copy A key part of any tertiary musical education is learning about all the wonderful (and less wonderful) types of chords out there. Typically this involves a great deal of exercises involving the identification of a given chord from its component notes. But how would you do this programmatically? Well, thankfully, the developers behind the WhatChord tool are happy to explain just how it’s done. The problem with classifying chords is that the way musicians use them and construct them can be quite varied. Names can also be applied somewhat differently depending on the musical context of a given set of notes.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Hackaday.