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

    Type Alias MelodicComparison

    How alike two lines are, and how the answer was reached.

    type MelodicComparison = {
        similarity: number;
        pitchSimilarity: number;
        rhythmSimilarity: number;
        rationale: string;
    }
    Index
    similarity: number

    Overall likeness in [0, 1]; 1 for the same line, transposition included.

    pitchSimilarity: number

    Likeness of the interval sequences alone, in [0, 1].

    rhythmSimilarity: number

    Likeness of the rhythmic profiles alone, in [0, 1].

    rationale: string

    Why the lines scored what they did.