Module xMidiIO
Extend applications with MIDI input/output .
Requires xLib cObservable xMidiInput
Functions
open_midi_input (port_name) | open access to midi port |
input_midi (midi_msg, port_name) | input raw midi messages here and pass them into xMidiInput |
input_sysex (sysex_msg, port_name) | input raw sysex messages here (immediately matched) |
close_midi_input (port_name) | |
open_midi_output (port_name) | |
close_midi_output (port_name) | |
initialize_midi_devices () | make sure the specified ports (and only those) are opened |
get_midi_inputs () | Get/set methods |
Tables
self._midi_input_ports | table |
self._midi_output_ports | table |
Fields
self.midi_inputs | table |
self.midi_outputs | table |
self.interpretor | xMidiInput |
Functions
- open_midi_input (port_name)
-
open access to midi port
Parameters:
- port_name (string)
- input_midi (midi_msg, port_name)
-
input raw midi messages here and pass them into xMidiInput
Parameters:
- midi_msg (table), midi message
- port_name (string)
- input_sysex (sysex_msg, port_name)
-
input raw sysex messages here (immediately matched)
Parameters:
- sysex_msg (table), sysex message
- port_name (string)
- close_midi_input (port_name)
-
Parameters:
- port_name (string)
- open_midi_output (port_name)
-
Parameters:
- port_name (string)
- close_midi_output (port_name)
-
Parameters:
- port_name (string)
- initialize_midi_devices ()
- make sure the specified ports (and only those) are opened
- get_midi_inputs ()
- Get/set methods