Home Information Classes Download Usage Mail List Requirements Tutorial
00001 /***************************************************/ 00030 /***************************************************/ 00031 00032 #if !defined(__RTMIDI_H) 00033 #define __RTMIDI_H 00034 00035 #include "Stk.h" 00036 00037 class RtMidi : public Stk 00038 { 00039 public: 00041 RtMidi(int device = 0); 00042 00044 ~RtMidi(); 00045 00047 void printMessage(void) const; 00048 00050 00053 int nextMessage(void); 00054 00056 int getType() const; 00057 00059 int getChannel() const; 00060 00062 MY_FLOAT getByteTwo() const; 00063 00065 MY_FLOAT getByteThree() const; 00066 00068 MY_FLOAT getDeltaTime() const; 00069 00070 protected: 00071 int messageType; 00072 int channel; 00073 float byteTwo; 00074 float byteThree; 00075 MY_FLOAT deltaTime; 00076 int readIndex; 00077 00078 }; 00079 00080 #endif
The Synthesis ToolKit in C++ (STK) |
©1995-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |