A technical deep-dive into the pitch-class bitmasks, chord-quality templates, scoring and ranking heuristics, and LRU cache behind real-time chord identification.