CLAM::MIDI Class Reference

#include <MIDIEnums.hxx>

List of all members.

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 MessageInfoGetMessageInfo (Message msg)
static const MessageInfoGetMessageInfo (int msg)

Friends

class MIDIDevice

Detailed Description

Definition at line 27 of file MIDIEnums.hxx.


Member Enumeration Documentation

Channel message IDs.

This corresponds with the 4 most significant bits of the MIDI Channel message.

Enumerator:
eNoteOff 
eNoteOn 
ePolyAftertouch 
eControlChange 
eProgramChange 
eAftertouch 
ePitchbend 
eSystem 
eNoteOnOff 

Definition at line 34 of file MIDIEnums.hxx.

System message IDs.

This corresponds with the 4 least significant bits of the MIDI System message (Fx).

Enumerator:
eExclusiveStart 
eQuarterFrams 
eSongPosition 
eSongSelect 
eUndefined1 
eUndefined2 
eTuneRequest 
eExclusiveEnd 
eTimingCloce 
eTimingTice 
eStart 
eContinue 
eStop 
eUndefined3 
eActiveSensing 
eSystemReset 

Definition at line 58 of file MIDIEnums.hxx.


Member Function Documentation

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().

static Message CLAM::MIDI::StatusByteToMessage ( const unsigned char &  byte  )  [inline, static]

Convert the first byte of a MIDI Channel Message to a EMessage.

Parameters:
b The midi byte

Definition at line 81 of file MIDIEnums.hxx.

Referenced by CLAM::MIDIDevice::GetMessageLength().

static SysMsg CLAM::MIDI::StatusByteToSysMsg ( const unsigned char &  b  )  [inline, static]

Convert the first byte of a MIDI Channel Message to a ECLAMSysMsg.

Parameters:
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().


Friends And Related Function Documentation

friend class MIDIDevice [friend]

Definition at line 107 of file MIDIEnums.hxx.


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.3