@libraz/libcantus - v0.9.3
    Preparing search index...

    Type Alias ChordData

    A chord expressed as a root pitch class plus semitone offsets.

    rootSpelling/bassSpelling are optional enharmonic hints recorded by parsers (e.g. parseChordSymbol('Bb7')) so formatters can reproduce the original spelling instead of defaulting to sharps. Consumers may ignore them; a hint is only trusted when its pitch class still matches the corresponding rootPc/bassPc.

    type ChordData = {
        rootPc: number;
        quality: ChordQuality;
        intervals: number[];
        bassPc?: number;
        rootSpelling?: PitchSpelling;
        bassSpelling?: PitchSpelling;
    }
    Index
    rootPc: number
    quality: ChordQuality
    intervals: number[]
    bassPc?: number
    rootSpelling?: PitchSpelling
    bassSpelling?: PitchSpelling