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

    Type Alias ReferenceMotif

    One motif, held as the interval and rhythm ratios it repeats under transformation rather than as the notes of any one statement.

    type ReferenceMotif = {
        intervals: number[];
        rhythm: number[];
        unitBeats: number;
        spanBeats: number;
        occurrences: number;
    }
    Index
    intervals: number[]

    Semitones between consecutive notes of the first statement (MotifData.intervals).

    rhythm: number[]

    Onset-to-onset ratios of the first statement (MotifData.rhythm), each gap over the first.

    unitBeats: number

    Onset gap between the first two notes of the first statement, in beats: the unit rhythm is measured in. 0 for a one-note motif.

    spanBeats: number

    Length of the first statement, in beats.

    occurrences: number

    How many statements of this motif were found.