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

    Type Alias HarmonizedMelody

    What a harmonization gives back: the chords, and the melody they fit.

    type HarmonizedMelody = {
        chords: Timeline;
        melody: Score;
        transposeSemitones: number;
    }
    Index
    chords: Timeline

    The chords, in time.

    melody: Score

    The melody as the chords read it. Harmonizing may move the melody into the key the chords are in, so this is the line that actually sounds against them; the untransposed input would not.

    transposeSemitones: number

    How far the melody was moved, in semitones.