Simple MIDI wrapper for realtime IO in JRuby. Uses javax.sound.midi.
In the interest of allowing people on other platforms to utilize your code, you should consider using unimidi. Unimidi is a platform independent wrapper which implements midi-jruby for users who are using jruby.
-
Input and output on multiple devices concurrently
-
Agnostically handle different MIDI Message types (including SysEx)
-
Timestamped input events
-
gem install midi-jruby
This library requires that JRuby be run in ‘1.9 mode’. This is normally done by passing –1.9 to JRuby at the command line
There is an issue that causes javax.sound.midi not to be able to send SysEx messages in some OSX Snow Leopard versions.
Use
jruby --1.9 -S rake test
-
please see test/config.rb before running tests
Ari Russo <ari.russo at gmail.com>
Apache 2.0, See the file LICENSE
Copyright © 2011 Ari Russo