21 releases (7 breaking)
|new 0.13.2||Oct 18, 2021|
|0.12.0||Oct 6, 2021|
#64 in Audio
361 downloads per month
Used in 2 crates
Nodi provides types and functions for playback and abstraction of MIDI files.
- Time-map MIDI events.
- Join or merge multiple MIDI tracks.
- Play MIDI files.
- Split a MIDI track into measures/bars.
- Transpose a track.
/examples/play_midi.rs for a basic midi player.
I started developping this crate because I needed the features it now offers. Here are some real-world examples of nodi in action:
Nodi uses the log crate for the logging; you can use a compatible logger for consumption.
Features enabled by default:
hybrid-sleep: A more accurate sleep, mixing regular sleep with spin locking efficiently. With this feature enabled the default implementations of timers in this crate will use this. Highly recommended for Windows users but it may also increase timing on other platforms.
midir: Adds implementations of
jack: Same with
midirbut uses the Jack backend.
winrt: Same with
midirbut uses the WinRT backend.
verbose-log: Enables more logging, not recommended unless you really want to see the Ticker tick.