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

source§

fn clone(&self) -> ControlNumber

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ControlNumber

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for ControlNumber

source§

fn eq(&self, other: &ControlNumber) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for ControlNumber

source§

impl Eq for ControlNumber

source§

impl StructuralPartialEq for ControlNumber

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.