mwg API
    Preparing search index...

    Interface GrooveTemplate

    interface GrooveTemplate {
        name: string;
        offsets: GrooveOffset[];
        ppq: number;
        subdivision: GridSubdivision;
        tempoBpm: number;
        timeSignature: [number, number];
    }
    Index
    name: string

    a stable name: the file it came from, or whatever a DAW calls it

    offsets: GrooveOffset[]

    one entry per slot of the bar, in slot order

    ppq: number

    ticks per quarter note, the same quantity MidiFile.ticksPerQuarter reports

    subdivision: GridSubdivision
    tempoBpm: number

    the tempo the offsets were measured at; applying it elsewhere rescales them in time

    timeSignature: [number, number]

    numerator and denominator of the bar the slots divide up, e.g. [4, 4]