libkmid Library API Documentation

midispec.h

00001 /*  midispec.h  - Some definitions to make the code more readable 
00002     This file is part of LibKMid 0.9.5
00003     Copyright (C) 1997,98,99,2000  Antonio Larrosa Jimenez
00004     LibKMid's homepage : http://www.arrakis.es/~rlarrosa/libkmid.html
00005 
00006     This library is free software; you can redistribute it and/or
00007     modify it under the terms of the GNU Library General Public
00008     License as published by the Free Software Foundation; either
00009     version 2 of the License, or (at your option) any later version.
00010  
00011     This library is distributed in the hope that it will be useful,
00012     but WITHOUT ANY WARRANTY; without even the implied warranty of
00013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014     Library General Public License for more details.
00015  
00016     You should have received a copy of the GNU Library General Public License
00017     along with this library; see the file COPYING.LIB.  If not, write to
00018     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00019     Boston, MA 02111-1307, USA.
00020 
00021     Send comments and bug fixes to Antonio Larrosa <larrosa@kde.org>
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 /* sf=sharps/flats (-7=7 flats, 0=key of C, 7=7 sharps)
00045    mi=major/minor (0=major, 1=minor)
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
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:21:59 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001