2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\file Midi2Defs.h
|
|
|
|
\ingroup midi2
|
|
|
|
\brief Some definitions to define raw MIDI events.
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\name Channel Message Masks
|
|
|
|
\brief Some definitions to define the raw MIDI events.
|
2006-12-29 03:26:34 +03:00
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
The default implementation of BMidiLocalConsumer::Data() uses these
|
|
|
|
constants to determine which event has been passed on. If you override
|
|
|
|
that method, you may use the constants yourself.
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
//! @{
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_NOTE_OFF
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_NOTE_ON
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_KEY_PRESSURE
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_CONTROL_CHANGE
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_PROGRAM_CHANGE
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_CHANNEL_PRESSURE
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_PITCH_BEND
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
//! @}
|
|
|
|
|
|
|
|
|
2015-03-25 18:30:01 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\name System Messages
|
|
|
|
\brief Some definitions to define the raw MIDI system messages.
|
2006-12-29 03:26:34 +03:00
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
The default implementation of BMidiLocalConsumer::Data() uses these
|
|
|
|
constants to determine which event system message has been passed on.
|
|
|
|
See BMidiLocalProducer::SpraySystemCommon() and
|
|
|
|
BMidiLocalProducer::SpraySystemRealTime() for more details on how and
|
|
|
|
when to use these messages.
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
//! @{
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_SYS_EX_START
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_MIDI_TIME_CODE
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_SONG_POSITION
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_SONG_SELECT
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_CABLE_MESSAGE
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_TUNE_REQUEST
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_SYS_EX_END
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_TIMING_CLOCK
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_START
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_CONTINUE
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_STOP
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_ACTIVE_SENSING
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_SYSTEM_RESET
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
//! @}
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2015-03-25 18:30:01 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\name Controller Numbers
|
|
|
|
\brief Constants that represent specific controller messages.
|
2006-12-29 03:26:34 +03:00
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
These constants can be used in BMidiLocalProducer::SprayControlChange()
|
|
|
|
and BMidiLocalConsumer::ControlChange(). These constants represent the
|
|
|
|
MIDI specification.
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
//! @{
|
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_MODULATION
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_BREATH_CONTROLLER
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_FOOT_CONTROLLER
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_PORTAMENTO_TIME
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_DATA_ENTRY
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_MAIN_VOLUME
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_MIDI_BALANCE
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_PAN
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_EXPRESSION_CTRL
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_GENERAL_CTRL_1
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_GENERAL_CTRL_2
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_GENERAL_CTRL_3
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_GENERAL_CTRL_4
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_SUSTAIN_PEDAL
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_PORTAMENTO
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2015-03-25 18:30:01 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_SOSTENUTO
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2015-03-25 18:30:01 +03:00
|
|
|
\var B_SOFT_PEDAL
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_HOLD_2
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_GENERAL_CTRL_5
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_GENERAL_CTRL_6
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_TEMPO_CHANGE
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_GENERAL_CTRL_7
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_GENERAL_CTRL_8
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_EFFECTS_DEPTH
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2015-03-25 18:30:01 +03:00
|
|
|
\var B_TREMOLO_DEPTH
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_CHORUS_DEPTH
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_CELESTE_DEPTH
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_PHASER_DEPTH
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_DATA_INCREMENT
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_DATA_DECREMENT
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_RESET_ALL_CONTROLLERS
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2015-03-25 18:30:01 +03:00
|
|
|
\var B_LOCAL_CONTROL
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_ALL_NOTES_OFF
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_OMNI_MODE_OFF
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2015-03-25 18:30:01 +03:00
|
|
|
\var B_OMNI_MODE_ON
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_MONO_MODE_ON
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2006-12-29 03:26:34 +03:00
|
|
|
/*!
|
2013-02-07 06:05:00 +04:00
|
|
|
\var B_POLY_MODE_ON
|
2006-12-29 03:26:34 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
//! @}
|