This class does MIDI output
This class does MIDI output. It lets the user get a list of available MIDI output devices, open a MIDI output device and send MIDI messages to that device. A program using this class might do something like this:
- GetListOfDevices(...) to get the display names of all available MIDI output Devices
- Open(deviceid) - Open a device
- SendMIDIMessage(...) - send cool messages
- Close() - Close device
virtual ~OSC_MIDIOutput()
void GetListOfDevices(OSC_StringArray &list, bool includeDeviceNumber = false)
int GetNumDevices()
OSC_ERR GetDevName(std::string &name)
OSC_ERR GetDevName(int deviceid, std:: string &name)
OSC_ERR GetDevID(const std::string &name, int &deviceid)
OSC_ERR Open(int deviceid)
OSC_ERR Close()
void SendMIDIMessage(OSC_MIDIDataShort status, OSC_MIDIDataShort data1, OSC_MIDIDataShort data2)
void SendMIDIMessage(const OSC_MIDIMessage &message)
MMRESULT GetLastMMError()
std::string GetLastMMErrorDescription()
alphabetic index hierarchy of classes