3 unstable releases

0.2.1 Sep 19, 2020
0.2.0 Apr 22, 2020
0.1.0 Apr 22, 2020

#578 in Audio

Download history 17/week @ 2024-02-24 1/week @ 2024-03-02 45/week @ 2024-03-30 11/week @ 2024-04-06

56 downloads per month

MIT/Apache

25KB
448 lines

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)]

Dependencies

~200KB