Class Midi.Connection

A MIDI connection.

Methods

onControl(function handler) register a callback for MIDI control messages
onMessage(function handler) register a callback for MIDI messages
onNoteOff(function handler) register a callback for MIDI note off messages
onNoteOn(function handler) register a callback for MIDI note on messages
onProgramChange(function handler) register a callback for MIDI program change messages
onSysex(function handler) register a callback for MIDI sysex messages

Method Documentation


void onControl(function handler)

Register a callback for MIDI control messages.

Parameters


void onMessage(function handler)

Register a callback for MIDI messages.

Parameters


void onNoteOff(function handler)

Register a callback for MIDI note off messages.

Parameters


void onNoteOn(function handler)

Register a callback for MIDI note on messages.

Parameters


void onProgramChange(function handler)

Register a callback for MIDI program change messages.

Parameters


void onSysex(function handler)

Register a callback for MIDI sysex messages.

Parameters



Creative Commons Logo This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.