1
/* midispec.h - Some definitions to make the code more readable
2
Copyright (C) 1997,98 Antonio Larrosa Jimenez
4
This program is free software; you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation; either version 2 of the License, or
7
(at your option) any later version.
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
14
You should have received a copy of the GNU General Public License
15
along with this program; if not, write to the Free Software
16
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
Send comments and bug fixes to antlarr@arrakis.es
19
or to Antonio Larrosa, Rio Arnoya, 10 5B, 29006 Malaga, Spain
21
***************************************************************************/
25
#define META_EVENT 0xFF
27
#define ME_TRACK_SEQ_NUMBER 0x00
29
#define ME_COPYRIGHT 0x02
30
#define ME_SEQ_OR_TRACK_NAME 0x03
31
#define ME_TRACK_INSTR_NAME 0x04
33
#define ME_MARKER 0x06
34
#define ME_CUE_POINT 0x07
35
#define ME_CHANNEL_PREFIX 0x20
36
#define ME_MIDI_PORT 0x21
37
#define ME_SET_TEMPO 0x51
38
#define ME_SMPTE_OFFSET 0x54
39
#define ME_TIME_SIGNATURE 0x58
40
#define ME_KEY_SIGNATURE 0x59
41
/* sf=sharps/flats (-7=7 flats, 0=key of C, 7=7 sharps)
42
mi=major/minor (0=major, 1=minor)
45
#define ME_END_OF_TRACK 0x2F
48
#define PERCUSSION_CHANNEL 9
50
#define KMID_EXTERNAL_MIDI 1
54
#define KMID_AWE 5 //For future class aweOut