pub enum NumericGlobalExpression {
PitchBend,
ModWheel,
ExpressionPedal,
Aftertouch,
Timbre,
}Expand description
Numeric expression controllers that affect all playing notes of the synth.
Variants§
PitchBend
The global pitch bend.
This ranges from -1.0 to 1.0, and represents the current state of the pitch bend controller. How to interpret this value in semitones precisely is up to each synth.
Note that there is also a per-note pitch bend expression parameter, this should be combined with the global pitch bend to get the total amount of bend for each note.
ModWheel
The mod wheel.
This ranges from 0.0 to 1.0, and represents the current state of the mod wheel.
ExpressionPedal
The expression pedal.
This ranges from 0.0 to 1.0, and represents the current state of the expression pedal.
Aftertouch
Aftertouch, or “pressure” in some DAW UIs.
This ranges from 0.0 to 1.0, and represents the current state of the global aftertouch.
Note that there is also a per-note aftertouch expression parameter, this should be combined with the global aftertouch to get the total amount of aftertouch for each note.
Timbre
Timbre, or “slide” in some DAW UIs.
This ranges from 0.0 to 1.0, and represents the current state of the global timbre control.
Note that there is also a per-note timbre expression parameter, this should be combined with the global timbre to get the total amount of timbre for each note.
Trait Implementations§
Source§impl Clone for NumericGlobalExpression
impl Clone for NumericGlobalExpression
Source§fn clone(&self) -> NumericGlobalExpression
fn clone(&self) -> NumericGlobalExpression
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for NumericGlobalExpression
impl Debug for NumericGlobalExpression
Source§impl Hash for NumericGlobalExpression
impl Hash for NumericGlobalExpression
Source§impl PartialEq for NumericGlobalExpression
impl PartialEq for NumericGlobalExpression
impl Copy for NumericGlobalExpression
impl Eq for NumericGlobalExpression
impl StructuralPartialEq for NumericGlobalExpression
Auto Trait Implementations§
impl Freeze for NumericGlobalExpression
impl RefUnwindSafe for NumericGlobalExpression
impl Send for NumericGlobalExpression
impl Sync for NumericGlobalExpression
impl Unpin for NumericGlobalExpression
impl UnwindSafe for NumericGlobalExpression
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more