1 |
schoenebeck |
675 |
/*************************************************************************** |
2 |
|
|
* * |
3 |
|
|
* Copyright (C) 2005 Christian Schoenebeck * |
4 |
|
|
* * |
5 |
|
|
* This program is free software; you can redistribute it and/or modify * |
6 |
|
|
* it under the terms of the GNU General Public License as published by * |
7 |
|
|
* the Free Software Foundation; either version 2 of the License, or * |
8 |
|
|
* (at your option) any later version. * |
9 |
|
|
* * |
10 |
|
|
* This program is distributed in the hope that it will be useful, * |
11 |
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of * |
12 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
13 |
|
|
* GNU General Public License for more details. * |
14 |
|
|
* * |
15 |
|
|
* You should have received a copy of the GNU General Public License * |
16 |
|
|
* along with this program; if not, write to the Free Software * |
17 |
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, * |
18 |
|
|
* MA 02111-1307 USA * |
19 |
|
|
***************************************************************************/ |
20 |
|
|
|
21 |
|
|
#ifndef __LS_MIDI_H__ |
22 |
|
|
#define __LS_MIDI_H__ |
23 |
|
|
|
24 |
|
|
namespace LinuxSampler { |
25 |
|
|
|
26 |
|
|
///////////////////////////////////////////////////////////////// |
27 |
|
|
// global type definitions |
28 |
|
|
|
29 |
|
|
/** |
30 |
|
|
* MIDI channels |
31 |
|
|
*/ |
32 |
|
|
enum midi_chan_t { |
33 |
|
|
midi_chan_1 = 0, |
34 |
|
|
midi_chan_2 = 1, |
35 |
|
|
midi_chan_3 = 2, |
36 |
|
|
midi_chan_4 = 3, |
37 |
|
|
midi_chan_5 = 4, |
38 |
|
|
midi_chan_6 = 5, |
39 |
|
|
midi_chan_7 = 6, |
40 |
|
|
midi_chan_8 = 7, |
41 |
|
|
midi_chan_9 = 8, |
42 |
|
|
midi_chan_10 = 9, |
43 |
|
|
midi_chan_11 = 10, |
44 |
|
|
midi_chan_12 = 11, |
45 |
|
|
midi_chan_13 = 12, |
46 |
|
|
midi_chan_14 = 13, |
47 |
|
|
midi_chan_15 = 14, |
48 |
|
|
midi_chan_16 = 15, |
49 |
|
|
midi_chan_all = 16 |
50 |
|
|
}; |
51 |
|
|
|
52 |
|
|
} // namsepace LinuxSampler |
53 |
|
|
|
54 |
|
|
#endif // __LS_MIDI_H__ |