#[repr(u32)]pub enum NoteExpressionId {
Volume = 0,
Pan = 1,
Tuning = 2,
Vibrato = 3,
Expression = 4,
Brightness = 5,
Pressure = 6,
}Variants§
Volume = 0
with 0 < x <= 4, plain = 20 * log(x)
Pan = 1
pan, 0 left, 0.5 center, 1 right
Tuning = 2
Relative tuning in semitones, from -120 to +120. Semitones are in
equal temperament and are doubles; the resulting note would be
retuned by 100 * evt->value cents.
Vibrato = 3
0..1
Expression = 4
Brightness = 5
Pressure = 6
Trait Implementations§
Source§impl Clone for NoteExpressionId
impl Clone for NoteExpressionId
Source§fn clone(&self) -> NoteExpressionId
fn clone(&self) -> NoteExpressionId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NoteExpressionId
impl Debug for NoteExpressionId
Source§impl PartialEq for NoteExpressionId
impl PartialEq for NoteExpressionId
impl Copy for NoteExpressionId
impl StructuralPartialEq for NoteExpressionId
Auto Trait Implementations§
impl Freeze for NoteExpressionId
impl RefUnwindSafe for NoteExpressionId
impl Send for NoteExpressionId
impl Sync for NoteExpressionId
impl Unpin for NoteExpressionId
impl UnwindSafe for NoteExpressionId
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
Mutably borrows from an owned value. Read more