mwg API
    Preparing search index...

    Interface MidiFile

    interface MidiFile {
        events: readonly MidiEvent[];
        loopStartTick: number | null;
        ticksPerQuarter: number;
    }
    Index
    events: readonly MidiEvent[]

    every kept event from every track, merged and sorted by tick

    loopStartTick: number | null

    Tick of the first controller-111 event (the RPG Maker XP/VX/Ace loop marker), or null when the file carries none and loops from the start instead.

    ticksPerQuarter: number