pub enum NumericPerNoteExpression {
PitchBend,
Timbre,
Aftertouch,
}Expand description
Numeric expression controllers that affect a single note of the synth.
Variants§
PitchBend
Pitch bend note expression.
This corresponds to the NumericGlobalExpression::PitchBend controller and should
change the tuning of the note.
This is expressed in semitones away from the root note of the note (which may itself be tuned).
Timbre
Vertical movement note expression, meant to control some sort of timbre of the synth.
This is called “slide” in some DAW UIs.
This corresponds to the NumericGlobalExpression::Timbre controller, and
its effects must be combined with the global controller.
This value varies from 0->1, 0 being the bottommost position, and 1 being the topmost position.
Aftertouch
Depthwise note expression.
This is called “Pressure” in some DAW UIs.
This value varies from 0->1, 0 being neutral, and 1 being the maximum depth.
This corresponds to the NumericGlobalExpression::Aftertouch controller which
affects all notes. The total effect must be a combination of this per-note note
expression and the global controller.
Trait Implementations§
Source§impl Clone for NumericPerNoteExpression
impl Clone for NumericPerNoteExpression
Source§fn clone(&self) -> NumericPerNoteExpression
fn clone(&self) -> NumericPerNoteExpression
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for NumericPerNoteExpression
impl Debug for NumericPerNoteExpression
Source§impl Hash for NumericPerNoteExpression
impl Hash for NumericPerNoteExpression
Source§impl PartialEq for NumericPerNoteExpression
impl PartialEq for NumericPerNoteExpression
impl Copy for NumericPerNoteExpression
impl Eq for NumericPerNoteExpression
impl StructuralPartialEq for NumericPerNoteExpression
Auto Trait Implementations§
impl Freeze for NumericPerNoteExpression
impl RefUnwindSafe for NumericPerNoteExpression
impl Send for NumericPerNoteExpression
impl Sync for NumericPerNoteExpression
impl Unpin for NumericPerNoteExpression
impl UnwindSafe for NumericPerNoteExpression
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