pub struct NoteExpression {
pub note: u8,
pub channel: u8,
pub velocity: u8,
pub pitch_bend: f32,
pub pressure: f32,
pub timbre: f32,
}Expand description
Per-note expression data.
Fields§
§note: u8MIDI note number (0-127).
channel: u8MIDI channel (1-16).
velocity: u8Velocity (0-127).
pitch_bend: f32Pitch bend in semitones (±pitch_bend_range).
pressure: f32Channel pressure/aftertouch (0.0-1.0).
timbre: f32Timbre/brightness CC74 (0.0-1.0).
Trait Implementations§
Source§impl Clone for NoteExpression
impl Clone for NoteExpression
Source§fn clone(&self) -> NoteExpression
fn clone(&self) -> NoteExpression
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NoteExpression
Source§impl Debug for NoteExpression
impl Debug for NoteExpression
Source§impl Default for NoteExpression
impl Default for NoteExpression
Source§fn default() -> NoteExpression
fn default() -> NoteExpression
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NoteExpression
impl RefUnwindSafe for NoteExpression
impl Send for NoteExpression
impl Sync for NoteExpression
impl Unpin for NoteExpression
impl UnsafeUnpin for NoteExpression
impl UnwindSafe for NoteExpression
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