mwg API
    Preparing search index...

    Interface MidiNoteEvent

    A Standard MIDI File (SMF) reader plus a player that voices each note through audio.synthesizeTone - .mid is a small, patent-free, well-documented event format (timing and note-on/note-off, not audio), so reading one is ordinary format engineering, and playback needed exactly the instrument item 120's waveform synth already supplies: a crude but real, entirely generated-not-borrowed one, closer to a chiptune cover than a sampled orchestra.

    interface MidiNoteEvent {
        channel: number;
        note: number;
        tick: number;
        type: "noteOn" | "noteOff";
        velocity: number;
    }
    Index
    channel: number
    note: number
    tick: number
    type: "noteOn" | "noteOff"
    velocity: number