PortMIDI
A wrapper around the non-stream-specific LibPortMIDI C bindings, plus some convenience functions for packing and unpacking PortMidi messages and to output midi device information.
Constants
VERSION = "0.1.0"
Class methods
Returns an array of the four bytes contained in a PortMidi event.
Returns an array of the four bytes contained in a PortMidi message.
Returns the error message that corresponds to errnum. Note that
calling this method clears the error flag used by the code underlying
PmStream#host_error?.
list_all_devices
Lists all MIDI inputs and outputs, along with the port numbers that need
to be passed to LibPortMIDI.
Given err, creates and raises an instance of the corresponding
Exception subclass with the given msg.