The API documented by this module permits to implement objects refering to MIDI port. These objects can receive events from the MIDI port and send events from the MIDI port.
An i/o object can check if a given object implements an FTS MIDI port and whether it is an input and/or an output using the functions fts_object_is_midiport(), fts_midiport_is_input() and fts_midiport_is_output(). The API provides functions for declaring an object as a listener to a MIDI port (see fts_bytestream_add_listener()) and output functions sending events out of a MIDI port (see fts_midiport_output_note()).
|
Register channel pressure change event listener to a MIDI port.
|
|
Register controller change event listener to a MIDI port.
|
|
Register note event listener to a MIDI port. In order to receive incoming MIDI messages of a certain type and channel from a MIDI port, an FTS object registeres itself as a listener to the MIDI port using this function.
|
|
Register system exclusive data event listener to a MIDI port.
|
|
Register poly pressure change event listener to a MIDI port.
|
|
Register program change event listener to a MIDI port.
|
|
Register system exclusive data event listener to a MIDI port.
|
|
Check whether an FTS MIDI port is an input.
|
|
Check whether an FTS MIDI port is an input.
|
|
Output channel pressure change event via a MIDI port.
|
|
Output controller change event via a MIDI port.
|
|
Output note event via a MIDI port.
|
|
Output system exclusive data event via a MIDI port.
|
|
Output poly pressure change event via a MIDI port.
|
|
Output program change event via a MIDI port.
|
|
Add byte to the sysex buffer output buffer.
|
|
Flush system exclusive output buffer and output system exclusive event via a MIDI port.
|
|
Remove channel pressure change event listener from a MIDI port.
|
|
Remove controller change event listener from a MIDI port.
|
|
Remove note event listener from a MIDI port. An object listening to a MIDI port must be removed as listener before being destroyed. Typically this is done in the object's delete method.
|
|
Remove system exclusive data event listener from a MIDI port.
|
|
Remove poly pressure change event listener from a MIDI port.
|
|
Remove program change event listener from a MIDI port.
|
|
Remove system exclusive data event listener from a MIDI port.
|
|
Check whether an FTS object implements the MIDI port abstraction. An object who wants to listen to or output via a MIDI port should check if the object it referes to implements the MIDI port abstraction
|