Enum midi_msg::ControlNumber
source · pub enum ControlNumber {
Show 65 variants
BankSelect = 0,
BankSelectLSB = 32,
ModWheel = 1,
ModWheelLSB = 33,
Breath = 2,
BreathLSB = 34,
Foot = 4,
FootLSB = 36,
Portamento = 5,
PortamentoLSB = 37,
DataEntry = 6,
DataEntryLSB = 38,
Volume = 7,
VolumeLSB = 39,
Balance = 8,
BalanceLSB = 40,
Pan = 10,
PanLSB = 42,
Expression = 11,
ExpressionLSB = 43,
Effect1 = 12,
Effect1LSB = 44,
Effect2 = 13,
Effect2LSB = 45,
GeneralPurpose1 = 16,
GeneralPurpose1LSB = 48,
GeneralPurpose2 = 17,
GeneralPurpose2LSB = 49,
GeneralPurpose3 = 18,
GeneralPurpose3LSB = 50,
GeneralPurpose4 = 19,
GeneralPurpose4LSB = 51,
Hold = 64,
TogglePortamento = 65,
Sostenuto = 66,
SoftPedal = 67,
ToggleLegato = 68,
Hold2 = 69,
SoundControl1 = 70,
SoundControl2 = 71,
SoundControl3 = 72,
SoundControl4 = 73,
SoundControl5 = 74,
SoundControl6 = 75,
SoundControl7 = 76,
SoundControl8 = 77,
SoundControl9 = 78,
SoundControl10 = 79,
GeneralPurpose5 = 80,
GeneralPurpose6 = 81,
GeneralPurpose7 = 82,
GeneralPurpose8 = 83,
PortamentoControl = 84,
HighResVelocity = 88,
Effects1Depth = 91,
Effects2Depth = 92,
Effects3Depth = 93,
Effects4Depth = 94,
Effects5Depth = 95,
DataIncrement = 96,
DataDecrement = 97,
NonRegisteredParameterLSB = 98,
NonRegisteredParameter = 99,
RegisteredParameterLSB = 100,
RegisteredParameter = 101,
}
Expand description
An enum that defines the MIDI numbers associated with Control Changes.
Variants§
BankSelect = 0
BankSelectLSB = 32
ModWheel = 1
ModWheelLSB = 33
Breath = 2
BreathLSB = 34
Foot = 4
FootLSB = 36
Portamento = 5
PortamentoLSB = 37
DataEntry = 6
DataEntryLSB = 38
Volume = 7
VolumeLSB = 39
Balance = 8
BalanceLSB = 40
Pan = 10
PanLSB = 42
Expression = 11
ExpressionLSB = 43
Effect1 = 12
Effect1LSB = 44
Effect2 = 13
Effect2LSB = 45
GeneralPurpose1 = 16
GeneralPurpose1LSB = 48
GeneralPurpose2 = 17
GeneralPurpose2LSB = 49
GeneralPurpose3 = 18
GeneralPurpose3LSB = 50
GeneralPurpose4 = 19
GeneralPurpose4LSB = 51
Hold = 64
AKA Sustain
TogglePortamento = 65
Sostenuto = 66
SoftPedal = 67
ToggleLegato = 68
Hold2 = 69
SoundControl1 = 70
AKA SoundVariation
SoundControl2 = 71
AKA Timbre
SoundControl3 = 72
AKA ReleaseTime
SoundControl4 = 73
AKA AttackTime
SoundControl5 = 74
AKA Brightness
SoundControl6 = 75
AKA DecayTime
SoundControl7 = 76
AKA VibratoRate
SoundControl8 = 77
AKA VibratoDepth
SoundControl9 = 78
AKA VibratoDelay
SoundControl10 = 79
GeneralPurpose5 = 80
GeneralPurpose6 = 81
GeneralPurpose7 = 82
GeneralPurpose8 = 83
PortamentoControl = 84
HighResVelocity = 88
Effects1Depth = 91
AKA ReverbSendLevel
Effects2Depth = 92
AKA TremoloDepth
Effects3Depth = 93
AKA ChorusSendLevel
Effects4Depth = 94
AKA CelesteDepth
Effects5Depth = 95
AKA PhaserDepth
DataIncrement = 96
DataDecrement = 97
NonRegisteredParameterLSB = 98
NonRegisteredParameter = 99
RegisteredParameterLSB = 100
RegisteredParameter = 101
Trait Implementations§
source§impl Clone for ControlNumber
impl Clone for ControlNumber
source§fn clone(&self) -> ControlNumber
fn clone(&self) -> ControlNumber
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ControlNumber
impl Debug for ControlNumber
source§impl PartialEq for ControlNumber
impl PartialEq for ControlNumber
source§fn eq(&self, other: &ControlNumber) -> bool
fn eq(&self, other: &ControlNumber) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ControlNumber
impl Eq for ControlNumber
impl StructuralPartialEq for ControlNumber
Auto Trait Implementations§
impl Freeze for ControlNumber
impl RefUnwindSafe for ControlNumber
impl Send for ControlNumber
impl Sync for ControlNumber
impl Unpin for ControlNumber
impl UnwindSafe for ControlNumber
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