eas_midictrl.h 2.4 KB

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