midi-event

Crates.iomidi-event
lib.rsmidi-event
version0.2.1
sourcesrc
created_at2020-04-22 13:47:21.89144
updated_at2020-09-19 15:17:54.053562
descriptionFast midi event parsing/writing out.
homepage
repositoryhttps://github.com/derekdreery/midi-event
max_upload_size
id232938
size24,594
Richard Dodd (derekdreery)

documentation

README

Goals

  • Correct for correct input.
  • Only events - not files.
  • Fast and easy for compiler to inline/optimize. (This includes ignoring the top bit rather than checking it, for example).
  • Ideally as fast as working with raw bytes, but more ergonomic.
  • Memory safe, even on bad input (this is the time we are willing to sacrifice performance).
  • #[no_std]

Stretch

  • Deal with malformed messages
  • Deal with common sysex messages, but not in a way that harms performance of the standard case.

Non-goals

  • Parsing smf files
  • Easy to understand code
  • #![unsafe(never)]
Commit count: 4

cargo fmt