spessasynth_core documentation
    Preparing search index...

    Interface NoteOnEvent

    This event is triggered when a note is pressed on any channel.

    interface NoteOnEvent {
        channel: number;
        midiNote: number;
        velocity: number;
    }

    Hierarchy (View Summary)

    Index
    channel: number

    The MIDI channel number for this event. Usually it ranges from 0 to 15, but it depends on the channel count.

    midiNote: number

    The MIDI key number of the note that was pressed. Ranges from 0 to 127.

    velocity: number

    The velocity of the note (usually more means louder). Ranges from 0 to 127