Run: cargo build
See: run.sh
, can do something like:
cargo run -- data/TimGM6mb.sf2 data/715754.mid data/test.wav
where the arguments given are
- soundfont,
- midi to play, and
- the wav output.
The instruments in the audio depend on the soundfont.
Soundfont is TimGM6mb.sf2
by Tim Brechbill from here: LINK.
This code is just a thin wrapper around rustysynth
, see here: LINK