midispec.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023  
00024 
00025 #ifndef _MIDISPEC_H
00026 #define _MIDISPEC_H
00027 
00028 #define META_EVENT 0xFF
00029 
00030 #define ME_TRACK_SEQ_NUMBER 0x00
00031 #define ME_TEXT         0x01
00032 #define ME_COPYRIGHT        0x02
00033 #define ME_SEQ_OR_TRACK_NAME    0x03
00034 #define ME_TRACK_INSTR_NAME 0x04
00035 #define ME_LYRIC        0x05
00036 #define ME_MARKER       0x06
00037 #define ME_CUE_POINT        0x07
00038 #define ME_CHANNEL_PREFIX       0x20
00039 #define ME_MIDI_PORT            0x21
00040 #define ME_SET_TEMPO        0x51
00041 #define ME_SMPTE_OFFSET         0x54
00042 #define ME_TIME_SIGNATURE   0x58
00043 #define ME_KEY_SIGNATURE    0x59
00044 
00045 
00046                             
00047  
00048 #define ME_END_OF_TRACK 0x2F
00049 
00050 
00051 #define PERCUSSION_CHANNEL 9
00052 
00053 #define KMID_EXTERNAL_MIDI 1
00054 #define KMID_SYNTH         2
00055 #define KMID_FM            3
00056 #define KMID_GUS           4
00057 #define KMID_AWE           5  //For future class aweOut
00058 #define KMID_ALSA          6
00059 
00060 #endif
 
This file is part of the documentation for libkmid Library Version 3.2.0.