UniMIDI
Summary
Platform independent realtime MIDI input and output for Ruby.
Features
-
Currently Linux, JRuby, Windows and Cygwin are supported. OSX is in progress
-
Both input and output to and from multiple devices concurrently
-
Agnostically handle different MIDI and SysEx Message types
Requirements
Platform
-
JRuby: midi-jruby
-
Linux: alsa-rawmidi
-
Windows/Cygwin: midi-winmm
A couple of notes about JRuby only:
-
You must be in 1.9 mode. This is normally accomplished by passing –1.9 to JRuby at the command line.
-
javax.sound has some documented issues with SysEx messages in some versions OSX Snow Leopard which do affect this library.
Install
-
gem install unimidi
Examples
Tests
-
please see test/config.rb before running tests
Documentation
Author
Ari Russo <ari.russo at gmail.com>
License
Apache 2.0, See the file LICENSE
Copyright © 2010-2011 Ari Russo