@libraz/libcantus - v0.9.3
    Preparing search index...

    Type Alias GrooveSlot

    The recorded feel at a single grid slot: an average timing deviation and velocity.

    type GrooveSlot = {
        timingOffset: number;
        velocity: number | null;
    }
    Index
    timingOffset: number

    Average actualStartBeat - quantizedBeat (in quarter-note beats) for events landing on this slot.

    velocity: number | null

    Average velocity of events landing on this slot, or null if no event with a velocity did. null (not 0) is the "unrecorded" sentinel so that a genuine velocity of 0 is preserved and applied like any other value.