wildmidi 0.1.1

A simple wrapper around the WildMIDI software synthesizer library.
Documentation
  • Coverage
  • 92.86%
    13 out of 14 items documented0 out of 13 items with examples
  • Size
  • Source code size: 17.76 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.64 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • TsarFox

This is a simple Rust wrapper around the WildMIDI software synthesizer library.

Examples

Included in this repository is a binary project exposing a very basic MIDI player - essentially a clone of wildmidi(1) that is missing a majority of the features.

$ cd examples/player/
$ cargo run D_E1A1.MID

Tests

The WildMIDI C library maintains some global state, so tests should not be run in parallel. Running tests consecutively can be achieved by invoking cargo-test as:

cargo test -- --test-threads=1

TODO

  • Implement wrappers for WildMidi_GetInfo.
  • Implement wrappers for WildMidi_SetOption.
  • Valid MIDI blob for use in testing 'load' and the methods of 'Midi'.
  • Compile the WildMIDI C library, or provide more sanity checking to ensure that it's present?