A chord recognition engine sounds simple, but its real work is turning shifting musical signal into a stable label, with music theory and mathematics doing the heavy lifting.