Enum dimi::midi::Event [−][src]
pub enum Event {
Disconnect,
NoteOff {
chan: u8,
note: Note,
value: i8,
},
NoteOn {
chan: u8,
note: Note,
value: i8,
},
NoteTouch {
chan: u8,
note: Note,
value: i8,
},
Control {
chan: u8,
message: Control,
},
Instrument {
chan: u8,
patch: [i8; 2],
},
Pressure {
chan: u8,
value: i8,
},
Bend {
chan: u8,
lsb: i8,
msb: i8,
},
System {
message: Message,
},
}
Expand description
A decoded MIDI Event
Variants
MIDI instrument was disconnected.
Note stopped
Fields of NoteOff
Note playing
Fields of NoteOn
Note aftertouch parameter change
Fields of NoteTouch
Control Change (Continous Controller)
Patch Change
Channel Pressure
Pitch-Bend
System Message
Fields of System
message: Message
One of the MIDI system messages.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Event
impl UnwindSafe for Event
Blanket Implementations
Mutably borrows from an owned value. Read more