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