Enum midi_msg::ChannelVoiceMsg [−][src]
Channel-level messages that act on a voice. For instance, turning notes on off,
or modifying sounding notes. Used in MidiMsg
.
Variants
Turn on a note
Fields of NoteOn
Turn off a note
Fields of NoteOff
Generally used for modifying the tones being played. Frequently shortened to ‘CC’
Fields of ControlChange
control: ControlChange
A note on with a preceding HighResVelocity CC per CA-031
A note off with a preceding HighResVelocity CC per CA-031
The amount of pressure being applied to a given note, which is a signal some controllers
after an initial NoteOn
.
Can act on multiple notes at a time, thus it is “polyphonic”.
Fields of PolyPressure
Similar to PolyPressure
, but only applies at the channel-level.
Fields of ChannelPressure
pressure: u8
Which “program”, “patch” or “sound” to use when playing any preceding notes, 0-127.
Use GMSoundSet
when targeting General MIDI
Fields of ProgramChange
program: u8
Apply a pitch bend to all sounding notes. 0-8191 represent negative bends,
8192 is no bend and8193-16383 are positive bends, with the standard bend rang
being +/-2 semitones per GM2. See Parameter::PitchBendSensitivity
Fields of PitchBend
bend: u16
Trait Implementations
impl Clone for ChannelVoiceMsg
[src]
fn clone(&self) -> ChannelVoiceMsg
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ChannelVoiceMsg
[src]
impl Debug for ChannelVoiceMsg
[src]
impl PartialEq<ChannelVoiceMsg> for ChannelVoiceMsg
[src]
fn eq(&self, other: &ChannelVoiceMsg) -> bool
[src]
fn ne(&self, other: &ChannelVoiceMsg) -> bool
[src]
impl StructuralPartialEq for ChannelVoiceMsg
[src]
Auto Trait Implementations
impl RefUnwindSafe for ChannelVoiceMsg
impl Send for ChannelVoiceMsg
impl Sync for ChannelVoiceMsg
impl Unpin for ChannelVoiceMsg
impl UnwindSafe for ChannelVoiceMsg
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>,