pub struct NoteVoice {
pub note_id: i32,
pub key: i16,
pub channel: i16,
pub port_index: i16,
pub velocity: f32,
pub volume: f32,
pub pan: f32,
pub tuning: f32,
pub vibrato: f32,
pub expression: f32,
pub brightness: f32,
pub pressure: f32,
/* private fields */
}Expand description
One occupied slot in NoteVoiceTable.
Fields§
§note_id: i32§key: i16§channel: i16§port_index: i16§velocity: f32§volume: f32CLAP volume expression (1.0 = 0 dB).
pan: f32§tuning: f32Tuning expression in semitones.
vibrato: f32§expression: f32§brightness: f32§pressure: f32Implementations§
Trait Implementations§
impl Copy for NoteVoice
impl StructuralPartialEq for NoteVoice
Auto Trait Implementations§
impl Forget for NoteVoice
impl Freeze for NoteVoice
impl RefUnwindSafe for NoteVoice
impl Send for NoteVoice
impl Sync for NoteVoice
impl Unpin for NoteVoice
impl UnsafeUnpin for NoteVoice
impl UnwindSafe for NoteVoice
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