@libraz/libcantus - v1.1.0
    Preparing search index...

    Type Alias ChordAnalysis

    The result of analyzeChord: function, borrowing, and Roman numeral.

    type ChordAnalysis = {
        function: HarmonicFunction;
        borrowed: boolean;
        source: BorrowedSource;
        roman: string;
        rationale: string;
        alternatives: RejectedCandidate[];
    }
    Index
    borrowed: boolean
    roman: string
    rationale: string

    Why the chord reads this way: the rule that settled its function, and where it was borrowed from when it was borrowed. Always present, in the phrasing analyzeVoice uses for a note.

    alternatives: RejectedCandidate[]

    The readings that were considered and rejected, empty unless the alternatives option of AnalyzeChordOptions asked for them.