Play MIDI files from the command line on macOS. Supports CoreMIDI devices.
git clone <repo-url>
cd /path/to/repo/
make
./playmidi <file> [<device-number>]
(If you do not provide a device number, the built-in software synthesizer will be used.)
The Swift version has a slightly different syntax, and is built with Xcode. Run playmidi-swift --help
after building it for more information.