Universal Music Theory Library - v0.12.0
    Preparing search index...

    Interface ChordCandidate

    One reading of a set of notes as a chord, with what ranks it (see Harmony.detectChordsScored).

    interface ChordCandidate {
        bass: string;
        name: string;
        omitted: string[];
        quality: string;
        root: string;
        rootInBass: boolean;
        score: number;
        tensions: string[];
    }
    Index

    Properties

    bass: string

    Lowest note name, without octave.

    name: string

    Chord symbol, with a slash bass when the lowest note is not the root: 'C7', 'C7/E'.

    omitted: string[]

    Formula members that do not sound ('5'; '9' and '11' in eleventh and thirteenth chords).

    quality: string

    Key of the formula in CHORD_FORMULAS ('M', '7', 'maj9'…).

    root: string

    Root note name, without octave.

    rootInBass: boolean

    The lowest note is the root.

    score: number

    1 for a complete chord over its root; less for each omitted member, another bass, and each tension.

    tensions: string[]

    Members above the octave: '9', '#11', 'b13'…