summaryrefslogtreecommitdiff
path: root/README.md
blob: a53730dbd23629f24cd79115957640b007f9bf26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
This is a light 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

- [x] Implement wrappers for WildMidi_GetInfo.
- [ ] Implement wrappers for WildMidi_SetOption.
- [ ] Valid MIDI blob for use in testing 'load' and the methods of 'Midi'.