The single best chord interpretation of a pitch set, or null if none.
MIDI pitches or bare pitch classes.
The top-ranked chord, or null when nothing matches.
import { detectChordBest } from '@libraz/libcantus';detectChordBest([60, 64, 67]); // C major triad: { rootPc: 0, quality: 'maj', ... } Copy
import { detectChordBest } from '@libraz/libcantus';detectChordBest([60, 64, 67]); // C major triad: { rootPc: 0, quality: 'maj', ... }
The single best chord interpretation of a pitch set, or null if none.