Crate midi_types

source ·



  • Represents a Midi channel, Midi channels can range from 0 to 15, but are represented as 1 based values Channel 1 to 16
  • A Midi controller number
  • Represents a midi note number
  • A Midi program number, these usually correspond to presets on Midi devices
  • A MIDI Quarter Frame value, used for sync.
  • A 7 bit Midi data value stored in an unsigned 8 bit integer, the msb is always 0
  • A 14 bit Midi value stored as two 7 bit Midi data values, where the msb is always 0 to signify that this is a data value.


  • An enum with variants for all possible Midi messages.