/midi-jruby

Simple wrapper for realtime MIDI IO in JRuby via javax.sound

Primary LanguageRubyOtherNOASSERTION

midi-jruby

Summary

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.

Features

  • Input and output on multiple devices concurrently

  • Agnostically handle different MIDI Message types (including SysEx)

  • Timestamped input events

Install

  • gem install midi-jruby

Usage

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

Examples

Issues

There is an issue that causes javax.sound.midi not to be able to send SysEx messages in some OSX Snow Leopard versions.

Tests

Use

jruby --1.9 -S rake test

Documentation

Author

Ari Russo <ari.russo at gmail.com>

License

Apache 2.0, See the file LICENSE

Copyright © 2011 Ari Russo