RtMidi: Haskell wrapper for RtMidi, the lightweight, cross-platform MIDI I/O library.

[ library, mit, program, sound ] [ Propose Tags ]

Please see the README on GitHub at https://github.com/riottracker/RtMidi#readme


[Skip to Readme]
Versions [faq] 0.1.0.0, 0.1.1.0, 0.2.0.0, 0.3.0.0, 0.4.0.0
Dependencies base (>=4.9 && <4.15), deepseq (>=1.4.4.0 && <2), pretty-simple (>=3.2.3.0 && <4), RtMidi, unliftio-core (>=0.1.2.0 && <1), vector (>=0.12.1.2 && <1) [details]
License MIT
Author kohlrabi, Eric Conlon
Maintainer ejconlon@gmail.com
Category Sound
Home page https://github.com/riottracker/RtMidi
Source repo head: git clone https://github.com/riottracker/RtMidi
Uploaded by ejconlon at 2020-09-17T20:53:22Z
Distributions NixOS:0.4.0.0
Executables rtmidi-report, rtmidi-poll, rtmidi-playback, rtmidi-callback
Downloads 1412 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index] [Quick Jump]

Flags

NameDescriptionDefaultType
alsa

Enable ALSA sequencer api on Linux

EnabledAutomatic
jack

Enable JACK api on Linux or OSX

DisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for RtMidi-0.4.0.0

[back to package description]

RtMidi

CircleCI

Haskell wrapper for RtMidi, the lightweight, cross-platform MIDI I/O library.

How to use

See Hackage for the latest released version and add RtMidi and vector to your library build-depends.

Follow the callback example to receive messages.

Follow the playback example to send messages.

Development

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

TODO

  • 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.