pub enum ControlNumber {
Show 65 variants BankSelect, BankSelectLSB, ModWheel, ModWheelLSB, Breath, BreathLSB, Foot, FootLSB, Portamento, PortamentoLSB, DataEntry, DataEntryLSB, Volume, VolumeLSB, Balance, BalanceLSB, Pan, PanLSB, Expression, ExpressionLSB, Effect1, Effect1LSB, Effect2, Effect2LSB, GeneralPurpose1, GeneralPurpose1LSB, GeneralPurpose2, GeneralPurpose2LSB, GeneralPurpose3, GeneralPurpose3LSB, GeneralPurpose4, GeneralPurpose4LSB, Hold, TogglePortamento, Sostenuto, SoftPedal, ToggleLegato, Hold2, SoundControl1, SoundControl2, SoundControl3, SoundControl4, SoundControl5, SoundControl6, SoundControl7, SoundControl8, SoundControl9, SoundControl10, GeneralPurpose5, GeneralPurpose6, GeneralPurpose7, GeneralPurpose8, PortamentoControl, HighResVelocity, Effects1Depth, Effects2Depth, Effects3Depth, Effects4Depth, Effects5Depth, DataIncrement, DataDecrement, NonRegisteredParameterLSB, NonRegisteredParameter, RegisteredParameterLSB, RegisteredParameter,
}
Expand description

An enum that defines the MIDI numbers associated with Control Changes.

Variants

BankSelect

BankSelectLSB

ModWheel

ModWheelLSB

Breath

BreathLSB

Foot

FootLSB

Portamento

PortamentoLSB

DataEntry

DataEntryLSB

Volume

VolumeLSB

Balance

BalanceLSB

Pan

PanLSB

Expression

ExpressionLSB

Effect1

Effect1LSB

Effect2

Effect2LSB

GeneralPurpose1

GeneralPurpose1LSB

GeneralPurpose2

GeneralPurpose2LSB

GeneralPurpose3

GeneralPurpose3LSB

GeneralPurpose4

GeneralPurpose4LSB

Hold

AKA Sustain

TogglePortamento

Sostenuto

SoftPedal

ToggleLegato

Hold2

SoundControl1

AKA SoundVariation

SoundControl2

AKA Timbre

SoundControl3

AKA ReleaseTime

SoundControl4

AKA AttackTime

SoundControl5

AKA Brightness

SoundControl6

AKA DecayTime

SoundControl7

AKA VibratoRate

SoundControl8

AKA VibratoDepth

SoundControl9

AKA VibratoDelay

SoundControl10

GeneralPurpose5

GeneralPurpose6

GeneralPurpose7

GeneralPurpose8

PortamentoControl

HighResVelocity

Effects1Depth

AKA ReverbSendLevel

Effects2Depth

AKA TremoloDepth

Effects3Depth

AKA ChorusSendLevel

Effects4Depth

AKA CelesteDepth

Effects5Depth

AKA PhaserDepth

DataIncrement

DataDecrement

NonRegisteredParameterLSB

NonRegisteredParameter

RegisteredParameterLSB

RegisteredParameter

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.