Haskell wrapper for RtMidi, the lightweight, cross-platform MIDI I/O library.
How to use
See Hackage for the latest released version and add
vector to your library
Follow the callback example to receive messages.
Follow the playback example to send messages.
This project is tested with Cabal (latest versions of last two compiler lines) and Stack (latest LTS).
You can get started with development like so:
# Build and test on OSX CoreMIDI support or Linux with ALSA support. # (You can also manually invoke stack and pass `--flag RtMidi:jack` for Jack support.) make test # Print information about all accessible MIDI devices and all compiled APIs. make example-report
- Add Windows MM support. This should only require a few changes to the Cabal file.
- See if there is a way to autodetect Jack in the Cabal file.