home *** CD-ROM | disk | FTP | other *** search
- /******************************************/
- /* Simple SKINI Text File Reader Class, */
- /* by Perry R. Cook, 1996 */
- /* This Object can open a SKINI Text File*/
- /* and parse it. The file spec is mine */
- /* and mine alone, but it's all text so */
- /* you should be able to figure it out. */
- /* */
- /* SKINI (Synthesis toolKit Instrument */
- /* Network Interface) is like MIDI, but */
- /* allows for floating point control */
- /* changes, note numbers, etc. Example: */
- /* noteOn 60.01 111.132 plays a sharp */
- /* middle C with a velocity of 111.132 */
- /* See SKINI.txt for more information */
- /* Warning: Obey columns in the text */
- /* file if you try to edit it or create */
- /* your own files. */
- /******************************************/
-
-
- #if !defined(__SKINI08_h)
- #define __SKINI08_h
-
- #include "Object.h"
-
- class SKINI08 : public Object
- {
- protected:
- FILE *myFile;
- int messageType;
- int channel;
- MY_FLOAT deltaTime;
- float byteTwo;
- float byteThree;
- public:
- SKINI08(char *fileName);
- ~SKINI08();
- int nextMessage();
- int getType();
- int getChannel();
- MY_FLOAT getDelta();
- MY_FLOAT getByteTwo();
- MY_FLOAT getByteThree();
- };
-
- #endif
-