Hiyve Components - v1.0.0
    Preparing search index...

    Options for gradeTake.

    interface GradeTakeOptions {
        chordWindowMs?: number;
        fromQuarters?: number;
        gapCost?: number;
        offsetMs?: number;
        refine?: boolean;
        timingScaleMs?: number;
        toQuarters?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    chordWindowMs?: number

    Played notes closer than this are one chord (default: 50)

    fromQuarters?: number

    Only expect notes from this point, in quarter notes

    gapCost?: number

    Cost of leaving an expected or played event unmatched (default: 0.9)

    offsetMs?: number

    Shift applied to the MIDI times before matching (default: 0 — timing is relative to the fitted tempo anyway)

    refine?: boolean

    Re-align using the fitted tempo once pitches are matched (default: true)

    timingScaleMs?: number

    Timing deviation that counts as a full mismatch during refinement (default: 300)

    toQuarters?: number

    Only expect notes before this point, in quarter notes