1/*----------------------------------------------------------------------------
2 *
3 * File:
4 * eas_midictrl.h
5 *
6 * Contents and purpose:
7 * MIDI controller definitions
8 *
9 * This header only contains declarations that are specific
10 * to this implementation.
11 *
12 * Copyright Sonic Network Inc. 2005
13
14 * Licensed under the Apache License, Version 2.0 (the "License");
15 * you may not use this file except in compliance with the License.
16 * You may obtain a copy of the License at
17 *
18 *      http://www.apache.org/licenses/LICENSE-2.0
19 *
20 * Unless required by applicable law or agreed to in writing, software
21 * distributed under the License is distributed on an "AS IS" BASIS,
22 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23 * See the License for the specific language governing permissions and
24 * limitations under the License.
25 *
26 *----------------------------------------------------------------------------
27 * Revision Control:
28 *   $Revision: 82 $
29 *   $Date: 2006-07-10 11:45:19 -0700 (Mon, 10 Jul 2006) $
30 *----------------------------------------------------------------------------
31*/
32
33#ifndef _EAS_MIDICTRL_H
34#define _EAS_MIDICTRL_H
35
36/* define controller types */
37/*
38    Note that these controller types are specified in base 10 (decimal)
39    and not in hexadecimal. The above midi messages are specified
40    in hexadecimal.
41*/
42#define MIDI_CONTROLLER_BANK_SELECT         0
43#define MIDI_CONTROLLER_BANK_SELECT_MSB     0
44#define MIDI_CONTROLLER_MOD_WHEEL           1
45#define MIDI_CONTROLLER_ENTER_DATA_MSB      6
46#define MIDI_CONTROLLER_VOLUME              7
47#define MIDI_CONTROLLER_PAN                 10
48#define MIDI_CONTROLLER_EXPRESSION          11
49#define MIDI_CONTROLLER_BANK_SELECT_LSB     32
50#define MIDI_CONTROLLER_ENTER_DATA_LSB      38      /* 0x26 */
51#define MIDI_CONTROLLER_SUSTAIN_PEDAL       64
52#define MIDI_CONTROLLER_SELECT_NRPN_LSB     98
53#define MIDI_CONTROLLER_SELECT_NRPN_MSB     99
54#define MIDI_CONTROLLER_SELECT_RPN_LSB      100     /* 0x64 */
55#define MIDI_CONTROLLER_SELECT_RPN_MSB      101     /* 0x65 */
56#define MIDI_CONTROLLER_ALL_SOUND_OFF       120
57#define MIDI_CONTROLLER_RESET_CONTROLLERS   121
58#define MIDI_CONTROLLER_ALL_NOTES_OFF       123
59#define MIDI_CONTROLLER_OMNI_OFF            124
60#define MIDI_CONTROLLER_OMNI_ON             125
61#define MIDI_CONTROLLER_MONO_ON_POLY_OFF    126
62#define MIDI_CONTROLLER_POLY_ON_MONO_OFF    127
63
64#endif /* #ifndef _EAS_MIDICTRL_H */
65