[][src]Module helgoboss_midi::controller_numbers

Contains predefined controller numbers.

Design

These are not associated constants of ControllerNumber because then we could only access them prefixed with ControllerNumber::. Making ControllerNumber an enum would have been the alternative, but this has other downsides such as having to introduce a special variant for undefined controllers and unnecessary conversion from and to integers. From the MIDI spec perspective, a controller number seems closer to a plain 7-bit integer than to an enum with well-defined values. Not all of the controller numbers have a special meaning, and if they do, this meaning is not necessarily important. In practice, controller numbers are often used for other things than they were intended for, especially the exotic ones.

Constants

ALL_NOTES_OFF
ALL_SOUND_OFF
BALANCE
BALANCE_LSB
BANK_SELECT
BANK_SELECT_LSB
BREATH_CONTROLLER
BREATH_CONTROLLER_LSB
CHANNEL_VOLUME
CHANNEL_VOLUME_LSB
DAMPER_PEDAL_ON_OFF
DATA_DECREMENT
DATA_ENTRY_MSB
DATA_ENTRY_MSB_LSB
DATA_INCREMENT
EFFECTS_1_DEPTH
EFFECTS_2_DEPTH
EFFECTS_3_DEPTH
EFFECTS_4_DEPTH
EFFECTS_5_DEPTH
EFFECT_CONTROL_1
EFFECT_CONTROL_1_LSB
EFFECT_CONTROL_2
EFFECT_CONTROL_2_LSB
EXPRESSION_CONTROLLER
EXPRESSION_CONTROLLER_LSB
FOOT_CONTROLLER
FOOT_CONTROLLER_LSB
GENERAL_PURPOSE_CONTROLLER_1
GENERAL_PURPOSE_CONTROLLER_1_LSB
GENERAL_PURPOSE_CONTROLLER_2
GENERAL_PURPOSE_CONTROLLER_2_LSB
GENERAL_PURPOSE_CONTROLLER_3
GENERAL_PURPOSE_CONTROLLER_3_LSB
GENERAL_PURPOSE_CONTROLLER_4
GENERAL_PURPOSE_CONTROLLER_4_LSB
GENERAL_PURPOSE_CONTROLLER_5
GENERAL_PURPOSE_CONTROLLER_6
GENERAL_PURPOSE_CONTROLLER_7
GENERAL_PURPOSE_CONTROLLER_8
HIGH_RESOLUTION_VELOCITY_PREFIX
HOLD_2
LEGATO_FOOTSWITCH
LOCAL_CONTROL_ON_OFF
MODULATION_WHEEL
MODULATION_WHEEL_LSB
MONO_MODE_ON
NON_REGISTERED_PARAMETER_NUMBER_LSB
NON_REGISTERED_PARAMETER_NUMBER_MSB
OMNI_MODE_OFF
OMNI_MODE_ON
PAN
PAN_LSB
POLY_MODE_ON
PORTAMENTO_CONTROL
PORTAMENTO_ON_OFF
PORTAMENTO_TIME
PORTAMENTO_TIME_LSB
REGISTERED_PARAMETER_NUMBER_LSB
REGISTERED_PARAMETER_NUMBER_MSB
RESET_ALL_CONTROLLERS
SOFT_PEDAL_ON_OFF
SOSTENUTO_ON_OFF
SOUND_CONTROLLER_1
SOUND_CONTROLLER_2
SOUND_CONTROLLER_3
SOUND_CONTROLLER_4
SOUND_CONTROLLER_5
SOUND_CONTROLLER_6
SOUND_CONTROLLER_7
SOUND_CONTROLLER_8
SOUND_CONTROLLER_9
SOUND_CONTROLLER_10