Class Midi.Connection

A MIDI connection.

Methods

onControl(function handler) register a callback for MIDI control 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.

Method Documentation


void onControl(function handler)

Register a callback for MIDI control 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



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