midi20 0.2.0

Types and helpers for building MIDI 2.0 capable software.
Documentation
  • Coverage
  • 100%
    242 out of 242 items documented0 out of 158 items with examples
  • Size
  • Source code size: 84.98 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 5.96 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • m-hilgendorf/midi20
    29 3 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • m-hilgendorf

Discord Chat

midi2

MIDI 2 is the next generation of MIDI, allowing bidirectional communication between enabled devices. This crate contains types and helpers for building MIDI-2 capable software in Rust. Specifications can be found at midi.org.

MIDI 2.0 is very much in an "alpha" state in the industry - operating systems have just begun to offer initial support for MIDI 2.0, and at the time of writing (Sep 2023) there are few (if any) devices that are available to send or receive MIDI 2 packets.

The goal of this crate is to allow device and application authors to encode/decode and interpret MIDI 2.0 messages in idiomatic Rust, with little overhead introduced by the underlying data representation itself.

Features:

  • #![no_std]
  • serialize/deserialize from universal midi packets (UMP)
  • MUID generation (requires std)
  • MIDI 2 AST

Todos:

  • System exclusive helpers
  • Capability inquiry (MIDI-CI)
  • Property exchange (MIDI-PE)
  • Conversion from MIDI 1.0 channel voice messages to MIDI 2.0 (increase resolution)

Help/Contributing

Contributions are very much welcome! Here are some good first issues:

If you make a PR, make sure to update the authors field in Cargo.toml.

Come discuss on the Rust Audio discord!