implements Midi.Source
A MIDI system input.Input(string name, string connection) | |
Input(string name, regex connection) |
midiout | Midi.Connection outputs as an array |
connect(regex connection) | connect to one ore more system ports |
connect(string connection) | connect to a system port |
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 |
Midi.Connection outputs as an array. Adding or removing elements to this array has no effect on the underlying audio component.
Connect to one ore more system ports.
Connect to a system port.
Register a callback for MIDI control messages.
Register a callback for MIDI note off messages.
Register a callback for MIDI note on messages.
Register a callback for MIDI program change messages.