#include <MIDIEnums.hxx>
Classes | |
| struct | MessageInfo |
Public Types | |
| enum | Message { eNoteOff = 0, eNoteOn = 1, ePolyAftertouch = 2, eControlChange = 3, eProgramChange = 4, eAftertouch = 5, ePitchbend = 6, eSystem = 7, eNoteOnOff = 8 } |
Channel message IDs. More... | |
| enum | SysMsg { eExclusiveStart = 0, eQuarterFrams = 1, eSongPosition = 2, eSongSelect = 3, eUndefined1 = 4, eUndefined2 = 5, eTuneRequest = 6, eExclusiveEnd = 7, eTimingCloce = 8, eTimingTice = 9, eStart = 10, eContinue = 11, eStop = 12, eUndefined3 = 13, eActiveSensing = 14, eSystemReset = 15 } |
System message IDs. More... | |
Static Public Member Functions | |
| static Message | StatusByteToMessage (const unsigned char &byte) |
| Convert the first byte of a MIDI Channel Message to a EMessage. | |
| static SysMsg | StatusByteToSysMsg (const unsigned char &b) |
| Convert the first byte of a MIDI Channel Message to a ECLAMSysMsg. | |
| static const MessageInfo & | GetMessageInfo (Message msg) |
| static const MessageInfo & | GetMessageInfo (int msg) |
Friends | |
| class | MIDIDevice |
Definition at line 27 of file MIDIEnums.hxx.
| enum CLAM::MIDI::Message |
Channel message IDs.
This corresponds with the 4 most significant bits of the MIDI Channel message.
| eNoteOff | |
| eNoteOn | |
| ePolyAftertouch | |
| eControlChange | |
| eProgramChange | |
| eAftertouch | |
| ePitchbend | |
| eSystem | |
| eNoteOnOff |
Definition at line 34 of file MIDIEnums.hxx.
| enum CLAM::MIDI::SysMsg |
System message IDs.
This corresponds with the 4 least significant bits of the MIDI System message (Fx).
| eExclusiveStart | |
| eQuarterFrams | |
| eSongPosition | |
| eSongSelect | |
| eUndefined1 | |
| eUndefined2 | |
| eTuneRequest | |
| eExclusiveEnd | |
| eTimingCloce | |
| eTimingTice | |
| eStart | |
| eContinue | |
| eStop | |
| eUndefined3 | |
| eActiveSensing | |
| eSystemReset |
Definition at line 58 of file MIDIEnums.hxx.
| static const MessageInfo& CLAM::MIDI::GetMessageInfo | ( | int | msg | ) | [inline, static] |
Definition at line 100 of file MIDIEnums.hxx.
| static const MessageInfo& CLAM::MIDI::GetMessageInfo | ( | Message | msg | ) | [inline, static] |
Definition at line 95 of file MIDIEnums.hxx.
Referenced by CLAM::MIDIDevice::GetMessageLength().
Convert the first byte of a MIDI Channel Message to a EMessage.
| b | The midi byte |
Definition at line 81 of file MIDIEnums.hxx.
Referenced by CLAM::MIDIDevice::GetMessageLength().
Convert the first byte of a MIDI Channel Message to a ECLAMSysMsg.
| b | The midi byte, which should be have the hexadecimal value Fx |
Definition at line 90 of file MIDIEnums.hxx.
Referenced by CLAM::MIDIDevice::GetMessageLength().
friend class MIDIDevice [friend] |
Definition at line 107 of file MIDIEnums.hxx.
1.6.3