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

    One MIDI message, timestamped on the take clock.

    A note-on with velocity 0 is recorded as a noteOff, so consumers never need to special-case it.

    interface MidiEvent {
        channel: number;
        controller?: number;
        data?: number[];
        kind: MidiEventKind;
        note?: number;
        timeMs: number;
        value?: number;
        velocity?: number;
    }
    Index

    Properties

    channel: number

    MIDI channel, 0–15

    controller?: number

    Controller number (0–127) for control-change messages

    data?: number[]

    Raw bytes, kept only for messages the parser does not model

    Message kind

    note?: number

    Note number (0–127) for note and polyphonic-aftertouch messages

    timeMs: number

    Milliseconds since the take started

    value?: number

    Controller value, program number, aftertouch pressure, or pitch bend (−8192…8191)

    velocity?: number

    Velocity (0–127) for note messages