Access the ALSA RawMIDI API with Ruby.
Note that in the interest of allowing people on other platforms to utilize your code, you should consider using unimidi. Unimidi is a platform independent wrapper that implements this gem and has a similar API.
- Simplified API
- Input and output on multiple devices concurrently
- Generalized handling of different MIDI Message types (including SysEx)
- Timestamped input events
- ffi
- libasound, libasound-dev packages
If you're using Bundler, add this line to your application's Gemfile:
gem "alsa-rawmidi"
Otherwise
gem install alsa-rawmidi
Ari Russo <ari.russo at gmail.com>
Apache 2.0, See the file LICENSE
Copyright (c) 2010-2022 Ari Russo