1/*! 2\file Midi2Defs.h 3\ingroup midi2 4*/ 5 6/*! 7\name Channel Message Masks 8\brief Some definitions to define the raw MIDI events. 9 10The default implementation of BMidiLocalConsumer::Data() uses these constants 11to determine which event has been passed on. If you override that method, you 12may use the constants yourself. 13*/ 14 15//! @{ 16 17/*! 18\var B_NOTE_OFF 19*/ 20 21/*! 22\var B_NOTE_ON 23*/ 24 25/*! 26\var B_KEY_PRESSURE 27*/ 28 29/*! 30\var B_CONTROL_CHANGE 31*/ 32 33/*! 34\var B_PROGRAM_CHANGE 35*/ 36 37/*! 38\var B_CHANNEL_PRESSURE 39*/ 40 41/*! 42\var B_PITCH_BEND 43*/ 44 45//! @} 46 47 48/*! 49\name System Messages 50\brief Some definitions to define the raw MIDI system messages. 51 52The default implementation of BMidiLocalConsumer::Data() uses these constants 53to determine which event system message has been passed on. See 54BMidiLocalProducer::SpraySystemCommon() and BMidiLocalProducer::SpraySystemRealTime() 55for more details on how and when to use these messages. 56*/ 57 58//! @{ 59 60/*! 61\var B_SYS_EX_START 62*/ 63 64/*! 65\var B_MIDI_TIME_CODE 66*/ 67 68/*! 69\var B_SONG_POSITION 70*/ 71 72/*! 73\var B_SONG_SELECT 74*/ 75 76/*! 77\var B_CABLE_MESSAGE 78*/ 79 80/*! 81\var B_TUNE_REQUEST 82*/ 83 84/*! 85\var B_SYS_EX_END 86*/ 87 88/*! 89\var B_TIMING_CLOCK 90*/ 91 92/*! 93\var B_START 94*/ 95 96/*! 97\var B_CONTINUE 98*/ 99 100/*! 101\var B_STOP 102*/ 103 104/*! 105\var B_ACTIVE_SENSING 106*/ 107 108/*! 109\var B_SYSTEM_RESET 110*/ 111 112//! @} 113 114/*! 115\name Controller Numbers 116\brief Constants that represent specific controller messages. 117 118These constants can be used in BMidiLocalProducer::SprayControlChange() 119and BMidiLocalConsumer::ControlChange(). These constants represent the 120MIDI specification. 121*/ 122 123//! @{ 124 125 126*/ 127 128/*! 129\var B_MODULATION 130*/ 131 132/*! 133\var B_BREATH_CONTROLLER 134*/ 135 136/*! 137\var B_FOOT_CONTROLLER 138*/ 139 140/*! 141\var B_PORTAMENTO_TIME 142*/ 143 144/*! 145\var B_DATA_ENTRY 146*/ 147 148/*! 149\var B_MAIN_VOLUME 150*/ 151 152/*! 153\var B_MIDI_BALANCE 154*/ 155 156/*! 157\var B_PAN 158*/ 159 160/*! 161\var B_EXPRESSION_CTRL 162*/ 163 164/*! 165\var B_GENERAL_CTRL_1 166*/ 167 168/*! 169\var B_GENERAL_CTRL_2 170*/ 171 172/*! 173\var B_GENERAL_CTRL_3 174*/ 175 176/*! 177\var B_GENERAL_CTRL_4 178*/ 179 180/*! 181\var B_SUSTAIN_PEDAL 182*/ 183 184/*! 185\var B_PORTAMENTO 186*/ 187 188/*! 189\var B_SOSTENUTO 190*/ 191 192/*! 193\var B_SOFT_PEDAL 194*/ 195 196/*! 197\var B_HOLD_2 198*/ 199 200/*! 201\var B_GENERAL_CTRL_5 202*/ 203 204/*! 205\var B_GENERAL_CTRL_6 206*/ 207 208/*! 209\var B_TEMPO_CHANGE 210*/ 211 212/*! 213\var B_GENERAL_CTRL_7 214*/ 215 216/*! 217\var B_GENERAL_CTRL_8 218*/ 219 220/*! 221\var B_EFFECTS_DEPTH 222*/ 223 224/*! 225\var B_TREMOLO_DEPTH 226*/ 227 228/*! 229\var B_CHORUS_DEPTH 230*/ 231 232/*! 233\var B_CELESTE_DEPTH 234*/ 235 236/*! 237\var B_PHASER_DEPTH 238*/ 239 240/*! 241\var B_DATA_INCREMENT 242*/ 243 244/*! 245\var B_DATA_DECREMENT 246*/ 247 248/*! 249\var B_RESET_ALL_CONTROLLERS 250*/ 251 252/*! 253\var B_LOCAL_CONTROL 254*/ 255 256/*! 257\var B_ALL_NOTES_OFF 258*/ 259 260/*! 261\var B_OMNI_MODE_OFF 262*/ 263 264/*! 265\var B_OMNI_MODE_ON 266*/ 267 268/*! 269\var B_MONO_MODE_ON 270*/ 271 272/*! 273\var B_POLY_MODE_ON 274*/ 275 276 277//! @} 278 279 280