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

    Interface Motif

    A recurring interval pattern detected within a melody.

    interface Motif {
        intervals: number[];
        length: number;
        occurrences: number;
        start: number;
    }
    Index

    Properties

    intervals: number[]

    Intervals between consecutive notes, in steps.

    length: number

    Length in notes.

    occurrences: number

    Occurrences that do not overlap one another.

    start: number

    Index of the first note of the first occurrence.