#[repr(u8)]pub enum Control {
Show 120 variants
BankSelect = 0,
ModWheel = 1,
BreathController = 2,
Undefined3 = 3,
FootController = 4,
PortamentoTime = 5,
DataEntryMsb = 6,
ChannelVolume = 7,
Balance = 8,
Undefined9 = 9,
Pan = 10,
ExpressionController = 11,
EffectControl1 = 12,
EffectControl2 = 13,
Undefined14 = 14,
Undefined15 = 15,
GeneralPurpose1 = 16,
GeneralPurpose2 = 17,
GeneralPurpose3 = 18,
GeneralPurpose4 = 19,
Undefined20 = 20,
Undefined21 = 21,
Undefined22 = 22,
Undefined23 = 23,
Undefined24 = 24,
Undefined25 = 25,
Undefined26 = 26,
Undefined27 = 27,
Undefined28 = 28,
Undefined29 = 29,
Undefined30 = 30,
Undefined31 = 31,
BankSelectLsb = 32,
ModWheelLsb = 33,
BreathControllerLsb = 34,
Undefined3Lsb = 35,
FootControllerLsb = 36,
PortamentoTimeLsb = 37,
DataEntryMsbLsb = 38,
ChannelVolumeLsb = 39,
BalanceLsb = 40,
Undefined9Lsb = 41,
PanLsb = 42,
ExpressionControllerLsb = 43,
EffectControl1Lsb = 44,
EffectControl2Lsb = 45,
Undefined14Lsb = 46,
Undefined15Lsb = 47,
GeneralPurpose1Lsb = 48,
GeneralPurpose2Lsb = 49,
GeneralPurpose3Lsb = 50,
GeneralPurpose4Lsb = 51,
Undefined20Lsb = 52,
Undefined21Lsb = 53,
Undefined22Lsb = 54,
Undefined23Lsb = 55,
Undefined24Lsb = 56,
Undefined25Lsb = 57,
Undefined26Lsb = 58,
Undefined27Lsb = 59,
Undefined28Lsb = 60,
Undefined29Lsb = 61,
Undefined30Lsb = 62,
Undefined31Lsb = 63,
DamperPedalSustain = 64,
PortamentoOnOff = 65,
Sostenuto = 66,
SoftPedal = 67,
LegatoFootswitch = 68,
Hold2 = 69,
SoundVariation = 70,
HarmonicIntensity = 71,
ReleaseTime = 72,
AttackTime = 73,
Brightness = 74,
SoundControllers6 = 75,
SoundControllers7 = 76,
SoundControllers8 = 77,
SoundControllers9 = 78,
SoundControllers10 = 79,
GeneralPurpose5 = 80,
GeneralPurpose6 = 81,
GeneralPurpose7 = 82,
GeneralPurpose8 = 83,
PortamentoControl = 84,
Undefined85 = 85,
Undefined86 = 86,
Undefined87 = 87,
Undefined88 = 88,
Undefined89 = 89,
Undefined90 = 90,
Effects1Depth = 91,
Effects2Depth = 92,
Effects3Depth = 93,
Effects4Depth = 94,
Effects5Depth = 95,
DataIncrement = 96,
DataDecrement = 97,
NonRegisteredParameterNumberLsb = 98,
NonRegisteredParameterNumberMsb = 99,
RegisteredParameterNumberLsb = 100,
RegisteredParameterNumberMsb = 101,
Undefined102 = 102,
Undefined103 = 103,
Undefined104 = 104,
Undefined105 = 105,
Undefined106 = 106,
Undefined107 = 107,
Undefined108 = 108,
Undefined109 = 109,
Undefined110 = 110,
Undefined111 = 111,
Undefined112 = 112,
Undefined113 = 113,
Undefined114 = 114,
Undefined115 = 115,
Undefined116 = 116,
Undefined117 = 117,
Undefined118 = 118,
Undefined119 = 119,
}
Expand description
Represents the control byte in a [ControlChangeValue
]. Values greater than one byte require
sending two messages, one with the most-significant byte and one with the least-significant
byte. Control
values greater than 31 are for the Lsb in these two-byte messages.
Variants§
BankSelect = 0
ModWheel = 1
BreathController = 2
Undefined3 = 3
FootController = 4
PortamentoTime = 5
DataEntryMsb = 6
ChannelVolume = 7
Balance = 8
Undefined9 = 9
Pan = 10
ExpressionController = 11
EffectControl1 = 12
EffectControl2 = 13
Undefined14 = 14
Undefined15 = 15
GeneralPurpose1 = 16
GeneralPurpose2 = 17
GeneralPurpose3 = 18
GeneralPurpose4 = 19
Undefined20 = 20
Undefined21 = 21
Undefined22 = 22
Undefined23 = 23
Undefined24 = 24
Undefined25 = 25
Undefined26 = 26
Undefined27 = 27
Undefined28 = 28
Undefined29 = 29
Undefined30 = 30
Undefined31 = 31
BankSelectLsb = 32
ModWheelLsb = 33
BreathControllerLsb = 34
Undefined3Lsb = 35
FootControllerLsb = 36
PortamentoTimeLsb = 37
DataEntryMsbLsb = 38
ChannelVolumeLsb = 39
BalanceLsb = 40
Undefined9Lsb = 41
PanLsb = 42
ExpressionControllerLsb = 43
EffectControl1Lsb = 44
EffectControl2Lsb = 45
Undefined14Lsb = 46
Undefined15Lsb = 47
GeneralPurpose1Lsb = 48
GeneralPurpose2Lsb = 49
GeneralPurpose3Lsb = 50
GeneralPurpose4Lsb = 51
Undefined20Lsb = 52
Undefined21Lsb = 53
Undefined22Lsb = 54
Undefined23Lsb = 55
Undefined24Lsb = 56
Undefined25Lsb = 57
Undefined26Lsb = 58
Undefined27Lsb = 59
Undefined28Lsb = 60
Undefined29Lsb = 61
Undefined30Lsb = 62
Undefined31Lsb = 63
DamperPedalSustain = 64
PortamentoOnOff = 65
Sostenuto = 66
SoftPedal = 67
LegatoFootswitch = 68
Hold2 = 69
SoundVariation = 70
HarmonicIntensity = 71
ReleaseTime = 72
AttackTime = 73
Brightness = 74
SoundControllers6 = 75
SoundControllers7 = 76
SoundControllers8 = 77
SoundControllers9 = 78
SoundControllers10 = 79
GeneralPurpose5 = 80
GeneralPurpose6 = 81
GeneralPurpose7 = 82
GeneralPurpose8 = 83
PortamentoControl = 84
Undefined85 = 85
Undefined86 = 86
Undefined87 = 87
Undefined88 = 88
Undefined89 = 89
Undefined90 = 90
Effects1Depth = 91
Effects2Depth = 92
Effects3Depth = 93
Effects4Depth = 94
Effects5Depth = 95
DataIncrement = 96
DataDecrement = 97
NonRegisteredParameterNumberLsb = 98
NonRegisteredParameterNumberMsb = 99
RegisteredParameterNumberLsb = 100
RegisteredParameterNumberMsb = 101
Undefined102 = 102
Undefined103 = 103
Undefined104 = 104
Undefined105 = 105
Undefined106 = 106
Undefined107 = 107
Undefined108 = 108
Undefined109 = 109
Undefined110 = 110
Undefined111 = 111
Undefined112 = 112
Undefined113 = 113
Undefined114 = 114
Undefined115 = 115
Undefined116 = 116
Undefined117 = 117
Undefined118 = 118
Undefined119 = 119
Trait Implementations§
source§impl Ord for Control
impl Ord for Control
source§impl PartialOrd for Control
impl PartialOrd for Control
impl Copy for Control
impl Eq for Control
impl StructuralPartialEq for Control
Auto Trait Implementations§
impl Freeze for Control
impl RefUnwindSafe for Control
impl Send for Control
impl Sync for Control
impl Unpin for Control
impl UnwindSafe for Control
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)