Enum midi_msg::ControlChange [−][src]
Used by ChannelVoiceMsg::ControlChange
to modify sounds.
Each control targets a particular ControlNumber
, the meaning of which is given by convention.
Variants
BankSelect(u16)
0-16383
ModWheel(u16)
0-16383
Breath(u16)
0-16383
Control number may be any valid Midi CC Control number. May not be > 119.
control1
is associated with the MSB of the value, control2
with the LSB. Neither controls
may be > 119.
Foot(u16)
0-16383
Portamento(u16)
0-16383
Volume(u16)
0-16383
Balance(u16)
0-16383
Pan(u16)
0-16383
Expression(u16)
0-16383
Effect1(u16)
0-16383
Effect2(u16)
0-16383
GeneralPurpose1(u16)
0-16383
GeneralPurpose2(u16)
0-16383
GeneralPurpose3(u16)
0-16383
GeneralPurpose4(u16)
0-16383
GeneralPurpose5(u8)
0-127
GeneralPurpose6(u8)
0-127
GeneralPurpose7(u8)
0-127
GeneralPurpose8(u8)
0-127
Hold(u8)
0-127
Hold2(u8)
0-127
TogglePortamento(bool)
Turn portamento on or off
Sostenuto(u8)
0-127
SoftPedal(u8)
0-127
ToggleLegato(bool)
Turn legato on or off
SoundVariation(u8)
Same as SoundControl1
Timbre(u8)
Same as SoundControl2
ReleaseTime(u8)
Same as SoundControl3
AttackTime(u8)
Same as SoundControl4
Brightness(u8)
Same as SoundControl5, and used as the MPE “third dimension” (usually Timbre) control (RP-021, RP-053)
DecayTime(u8)
Same as SoundControl6 (RP-021)
VibratoRate(u8)
Same as SoundControl7 (RP-021)
VibratoDepth(u8)
Same as SoundControl8 (RP-021)
VibratoDelay(u8)
Same as SoundControl9 (RP-021)
SoundControl1(u8)
0-127
SoundControl2(u8)
0-127
SoundControl3(u8)
0-127
SoundControl4(u8)
0-127
SoundControl5(u8)
0-127
SoundControl6(u8)
0-127
SoundControl7(u8)
0-127
SoundControl8(u8)
0-127
SoundControl9(u8)
0-127
SoundControl10(u8)
0-127
HighResVelocity(u8)
Used as the LSB of the velocity for the next note on/off message, 0-127. Defined in CA-031
PortamentoControl(u8)
0-127
Effects1Depth(u8)
0-127
Effects2Depth(u8)
0-127
Effects3Depth(u8)
0-127
Effects4Depth(u8)
0-127
Effects5Depth(u8)
0-127
ReverbSendLevel(u8)
Same as Effects1Depth (RP-023)
TremoloDepth(u8)
Same as Effects2Depth
ChorusSendLevel(u8)
Same as Effects3Depth (RP-023)
CelesteDepth(u8)
Same as Effects4Depth
PhaserDepth(u8)
Same as Effects5Depth
Parameter(Parameter)
Registered and Unregistered Parameters
DataEntry(u16)
Set the value of the last-set Parameter. 0-16383
Set the MSB and LSB of the last-set parameter separately.
DataIncrement(u8)
Increment the value of the last-set Parameter. 0-127
DataDecrement(u8)
Decrement the value of the last-set Parameter. 0-127
Implementations
impl ControlChange
[src]
pub fn to_midi_running(&self) -> Vec<u8>
[src]
pub fn extend_midi_running(&self, v: &mut Vec<u8>)
[src]
Trait Implementations
impl Clone for ControlChange
[src]
fn clone(&self) -> ControlChange
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ControlChange
[src]
impl Debug for ControlChange
[src]
impl PartialEq<ControlChange> for ControlChange
[src]
fn eq(&self, other: &ControlChange) -> bool
[src]
fn ne(&self, other: &ControlChange) -> bool
[src]
impl StructuralPartialEq for ControlChange
[src]
Auto Trait Implementations
impl RefUnwindSafe for ControlChange
impl Send for ControlChange
impl Sync for ControlChange
impl Unpin for ControlChange
impl UnwindSafe for ControlChange
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,