Boddlnagg/midir
Boddlnagg/midir has 837 GitHub stars and 109 forks. GitHot measured 0 stars in 24 hours and +2 in 7 days. Last checked 2026-11-10 01:28 UTC. Last push 2026-10-10.
Cross-platform realtime MIDI processing in Rust.
What you can do
- WinMM (Windows)
- CoreMIDI (macOS, iOS)
- WinRT (Windows 8+), enable the winrt feature
- Jack (Linux, macOS), enable the jack feature
Measured star growth
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalmidir 
Cross-platform, realtime MIDI processing in Rust.
Features
midir is inspired by RtMidi and supports the same features*, including virtual ports (except on Windows) and full SysEx support – but with a rust-y API!
* With the exception of message queues, but these can be implemented on top of callbacks using e.g. Rust's channels.
midir currently supports the following platforms/backends:
- ALSA (Linux)
- WinMM (Windows)
- CoreMIDI (macOS, iOS)
- WinRT (Windows 8+), enable the
winrtfeature - Jack (Linux, macOS), enable the
jackfeature - Web MIDI (Chrome, Opera, perhaps others browsers)
- Android (API 29+, NDK AMidi + JNI)
A higher-level API for parsing and assembling MIDI messages might be added in the future.
Documentation & Example
API docs can be found at docs.rs. You can find some examples in the examples directory. Or simply run cargo run --example test_play after cloning this repository.
Android
- Requires Android API 29+ and the Android NDK (r20b+).
- Build (example, to remove before merging):
- Install:
cargo install cargo-ndk - Targets:
rustup target add aarch64-linux-android - Build:
cargo ndk -t arm64-v8a -o ./app/src/main/jniLibs build --release
- Install:
- Permissions/features:
- Manifest should declare
<uses-feature android:name="android.software.midi" android:required="false" />(not needed for USB/BLE MIDI).
- Manifest should declare
Explore related projects
ytdl-org/youtube-dl
Command-line program to download videos from YouTube.com and other video sites
141,527 starsexcalidraw/excalidraw
Virtual whiteboard for sketching hand-drawn like diagrams
135,396 starsgodotengine/godot
Godot Engine – Multi-platform 2D and 3D game engine
119,942 starsmrdoob/three.js
JavaScript 3D Library.
117,983 stars