Enum midi_msg::Parameter [−][src]
Used by ControlChange::Parameter
. “Entry” Parameters can be used to set the given parameters:
they will first select that parameter, then send a ControlChange::DataEntry
with the given value.
Variants
Unregistered(u16)
A whole bunch of parameters defined by the given number 0-16383, that can be used for whatever.
A registered parameter that does nothing. Defined in GM2.
The pitch bend sensitivity in semitones (0-127) and the sensitivity in cents (0-100), respectively. For example, a value (1, 0) means +/- one semitone (a total range of two semitones)
A value from -8192-8191, representing the fractional cents to shift away from A440 in 1/8192ths of a cent.
FineTuningEntry(i16)
A value from -64-63, the number of semitones to shift away from A44.
CoarseTuningEntry(i8)
Which “Tuning Program” to select from: 0-127.
Defined in the MIDI Tuning Standard (Updated Specification)
TuningProgramSelectEntry(u8)
Which “Tuning Bank” to select from: 0-127.
Defined in the MIDI Tuning Standard (Updated Specification)
TuningBankSelectEntry(u8)
The amount of “modulation depth” your mod wheel should apply: 0-16383.
Defined in CA 26. GM2 defines what this range might mean
ModulationDepthRangeEntry(u16)
Only valid when sent to channel 1 or channel 16, the former indicating that this is configuring the number of “lower zone” channels and the latter referring to the “upper zone”. A value between 0 (zone is not configured to be MPE) and 16 (zone has 16 channels in it). There can be no more than lower zone channels + upper zone channels active at a given time.
Defined in RP-053: MIDI Polyphonic Expression
PolyphonicExpressionEntry(u8)
A value 0-16383 representing -180.00-179.98 degrees.
Defined in RP-049
AzimuthAngle3DSoundEntry(u16)
A value 0-16383 representing -180.00-179.98 degrees.
Defined in RP-049
ElevationAngle3DSoundEntry(u16)
A value 1-16383 representing -163.82-0 dB of gain.
0 indicates “negative infinity”.
Defined in RP-049
Gain3DSoundEntry(u16)
A value 0-16383 representing a ratio between -0.000061-1.0.
Defined in RP-049
DistanceRatio3DSoundEntry(u16)
A value 0-16383 representing between 0 and 1000 distance units. Defined in RP-049
MaxiumumDistance3DSoundEntry(u16)
A value 0-16383 representing -163.83-0 dB of gain Defined in RP-049
GainAtMaxiumumDistance3DSoundEntry(u16)
A value 0-16383 representing a ratio between -0.000061-1.0 Defined in RP-049
ReferenceDistanceRatio3DSoundEntry(u16)
A value 0-16383 representing -180.00-179.98 degrees Defined in RP-049
PanSpreadAngle3DSoundEntry(u16)
A value 0-16383 representing -180.00-179.98 degrees Defined in RP-049
RollAngle3DSoundEntry(u16)
Trait Implementations
impl Clone for Parameter
[src]
impl Copy for Parameter
[src]
impl Debug for Parameter
[src]
impl PartialEq<Parameter> for Parameter
[src]
impl StructuralPartialEq for Parameter
[src]
Auto Trait Implementations
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
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>,