Registry / other / midly
library0.5.3rscratesunverified

Fast MIDI decoder and encoder for .mid files and real-time MIDI events.

# Cargo.toml [dependencies] midly = "0.5.3"
INSTALL
IMPORT
SIG · MIDLY
M
midly
otherrustv0.5.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Smf
use midly::Smf;

Parses a MIDI file and prints the number of tracks.

use midly::Smf; use std::fs::File; fn main() { let mut file = File::open("example.mid").unwrap(); let smf = Smf::parse(&mut file).unwrap(); println!("Tracks: {}", smf.tracks.len()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
midly — cargo add midly · libregistry