Arabic Maqām Network - TypeScript Library Documentation - v0.1.0
    Preparing search index...

    Interface PatternNote

    Represents a single note within a musical pattern.

    Each PatternNote defines a musical event with its position in the scale, rhythmic duration, emphasis level, and optional dynamic marking.

    PatternNote

    interface PatternNote {
        scaleDegree: string;
        noteDuration: string;
        isTarget: boolean;
        velocity?: number;
    }
    Index

    Properties

    scaleDegree: string

    The scale degree of this note (e.g., "I", "II", "-III", "+V"). Corresponds to positions in the SCALE_DEGREES array.

    noteDuration: string

    Rhythmic duration of the note using standard musical notation. Examples: "4n" = quarter note, "8d" = dotted eighth, "16t" = sixteenth triplet

    isTarget: boolean

    Whether this note should be emphasized or highlighted during playback. Target notes are typically structurally important in the pattern.

    velocity?: number

    Optional MIDI velocity value (0-127) for dynamic expression. Higher values result in louder playback.