Skip to main content

Module note

Module note 

Source
Expand description

MIDI 1.0 Note On / Note Off channel-voice messages.

Zero-heap: build returns a fixed [u8; 3]; parse reads a caller slice and returns a small Copy struct. Channel is 0..=15; note/velocity 0..=127.

Structs§

NoteOff
A MIDI 1.0 Note Off message. velocity is release velocity.
NoteOn
A MIDI 1.0 Note On message. A Note On with velocity == 0 is, by convention, an implied Note Off (see NoteOn::is_effectively_note_off).

Constants§

STATUS_NOTE_OFF
Note Off status nibble (0x8n).
STATUS_NOTE_ON
Note On status nibble (0x9n).