pub struct NoteOff {
pub channel: MidiChannel,
pub pitch: MidiNote,
pub velocity: f32,
pub note_id: NoteId,
pub tuning: f32,
}Expand description
A MIDI note-off event.
Fields§
§channel: MidiChannelMIDI channel (0-15).
pitch: MidiNoteNote number (0-127).
velocity: f32Release velocity (0.0 to 1.0).
note_id: NoteIdUnique note ID matching the original note-on.
tuning: f32Pitch offset in cents (-120.0 to +120.0) for microtonal/MPE support.
Trait Implementations§
impl Copy for NoteOff
impl StructuralPartialEq for NoteOff
Auto Trait Implementations§
impl Freeze for NoteOff
impl RefUnwindSafe for NoteOff
impl Send for NoteOff
impl Sync for NoteOff
impl Unpin for NoteOff
impl UnwindSafe for NoteOff
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