Get the sorted, deduplicated pitch classes of a chord.
The chord to enumerate.
The chord's pitch classes, sorted ascending in [0, 11].
import { makeChord, chordPitchClasses } from '@libraz/libcantus';chordPitchClasses(makeChord(0, 'maj7')); // [0, 4, 7, 11] Copy
import { makeChord, chordPitchClasses } from '@libraz/libcantus';chordPitchClasses(makeChord(0, 'maj7')); // [0, 4, 7, 11]
Get the sorted, deduplicated pitch classes of a chord.