156c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks/*---------------------------------------------------------------------------- 256c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks * 356c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks * File: 456c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks * eas_midictrl.h 556c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks * 656c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks * Contents and purpose: 756c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks * MIDI controller definitions 856c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks * 956c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks * This header only contains declarations that are specific 1056c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks * to this implementation. 1156c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks * 1256c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks * Copyright Sonic Network Inc. 2005 137df30109963092559d3760c0661a020f9daf1030The Android Open Source Project 147df30109963092559d3760c0661a020f9daf1030The Android Open Source Project * Licensed under the Apache License, Version 2.0 (the "License"); 157df30109963092559d3760c0661a020f9daf1030The Android Open Source Project * you may not use this file except in compliance with the License. 167df30109963092559d3760c0661a020f9daf1030The Android Open Source Project * You may obtain a copy of the License at 177df30109963092559d3760c0661a020f9daf1030The Android Open Source Project * 187df30109963092559d3760c0661a020f9daf1030The Android Open Source Project * http://www.apache.org/licenses/LICENSE-2.0 197df30109963092559d3760c0661a020f9daf1030The Android Open Source Project * 207df30109963092559d3760c0661a020f9daf1030The Android Open Source Project * Unless required by applicable law or agreed to in writing, software 217df30109963092559d3760c0661a020f9daf1030The Android Open Source Project * distributed under the License is distributed on an "AS IS" BASIS, 227df30109963092559d3760c0661a020f9daf1030The Android Open Source Project * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 237df30109963092559d3760c0661a020f9daf1030The Android Open Source Project * See the License for the specific language governing permissions and 247df30109963092559d3760c0661a020f9daf1030The Android Open Source Project * limitations under the License. 2556c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks * 2656c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks *---------------------------------------------------------------------------- 2756c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks * Revision Control: 2856c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks * $Revision: 82 $ 2956c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks * $Date: 2006-07-10 11:45:19 -0700 (Mon, 10 Jul 2006) $ 3056c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks *---------------------------------------------------------------------------- 3156c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks*/ 3256c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks 3356c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#ifndef _EAS_MIDICTRL_H 3456c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define _EAS_MIDICTRL_H 3556c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks 3656c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks/* define controller types */ 3756c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks/* 3856c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks Note that these controller types are specified in base 10 (decimal) 3956c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks and not in hexadecimal. The above midi messages are specified 4056c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks in hexadecimal. 4156c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks*/ 4256c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_BANK_SELECT 0 4356c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_BANK_SELECT_MSB 0 4456c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_MOD_WHEEL 1 4556c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_ENTER_DATA_MSB 6 4656c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_VOLUME 7 4756c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_PAN 10 4856c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_EXPRESSION 11 4956c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_BANK_SELECT_LSB 32 5056c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_ENTER_DATA_LSB 38 /* 0x26 */ 5156c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_SUSTAIN_PEDAL 64 5256c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_SELECT_NRPN_LSB 98 5356c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_SELECT_NRPN_MSB 99 5456c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_SELECT_RPN_LSB 100 /* 0x64 */ 5556c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_SELECT_RPN_MSB 101 /* 0x65 */ 5656c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_ALL_SOUND_OFF 120 5756c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_RESET_CONTROLLERS 121 5856c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_ALL_NOTES_OFF 123 5956c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_OMNI_OFF 124 6056c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_OMNI_ON 125 6156c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_MONO_ON_POLY_OFF 126 6256c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#define MIDI_CONTROLLER_POLY_ON_MONO_OFF 127 6356c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks 6456c99cd2c2c1e6ab038dac5fced5b92ccf11ff6cDave Sparks#endif /* #ifndef _EAS_MIDICTRL_H */ 65