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

    Where the follower believes the performer is.

    interface FollowerState {
        cursor: number;
        fit: TempoFit | null;
        fixedFit: TempoFit | null;
        heardAtCursor: HeardNote[];
        lastAttackMs: number | null;
        lostCount: number;
        pairs: TempoPair[];
        spreadMs: number | null;
        unexplained: UnexplainedAttack[];
    }
    Index

    Properties

    cursor: number

    Index of the last matched event, −1 before the first

    fit: TempoFit | null
    fixedFit: TempoFit | null

    A set tempo: fit is always this, and timing is judged against it rather than the performer's own

    heardAtCursor: HeardNote[]

    Notes of the event at the cursor heard so far — the chord as far as it has been played

    lastAttackMs: number | null
    lostCount: number

    Consecutive attacks whose notes matched no nearby position

    pairs: TempoPair[]

    Matched (position, time) pairs of the current run, oldest first

    spreadMs: number | null

    How far the recent matched events scatter around the fit, in milliseconds; null until three are in

    unexplained: UnexplainedAttack[]

    Attacks since the last matched event that explained nothing, oldest first