https://github.com/arirusso/midi-jruby
Realtime MIDI IO in JRuby
https://github.com/arirusso/midi-jruby
Last synced: over 1 year ago
JSON representation
Realtime MIDI IO in JRuby
- Host: GitHub
- URL: https://github.com/arirusso/midi-jruby
- Owner: arirusso
- License: other
- Created: 2011-04-21T02:40:36.000Z (over 15 years ago)
- Default Branch: main
- Last Pushed: 2022-02-18T02:21:28.000Z (over 4 years ago)
- Last Synced: 2024-04-23T19:24:46.990Z (over 2 years ago)
- Language: Ruby
- Homepage:
- Size: 61.5 KB
- Stars: 5
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# midi-jruby
Realtime MIDI IO with JRuby using the javax.sound.midi API.
In the interest of allowing people on other platforms to utilize your code, you should consider using [unimidi](http://github.com/arirusso/unimidi). Unimidi is a platform independent wrapper that implements midi-jruby and has a similar API.
## Features
* Simplified API
* Input and output on multiple devices concurrently
* Generalized handling of different MIDI Message types (including SysEx)
* Timestamped input events
## Install
If you're using Bundler, add this line to your application's Gemfile:
`gem "midi-jruby"`
Otherwise
`gem install midi-jruby`
## Examples
* [Input](http://github.com/arirusso/midi-jruby/blob/master/examples/input.rb)
* [Output](http://github.com/arirusso/midi-jruby/blob/master/examples/output.rb)
## Issues
There is [an issue](http://stackoverflow.com/questions/8148898/java-midi-in-mac-osx-broken) that causes javax.sound.midi not to be able to send SysEx messages in some versions of OSX.
## Documentation
* [rdoc](http://rdoc.info/gems/midi-jruby)
## License
Apache 2.0, See the file LICENSE
Copyright (c) 2011-2022 [Ari Russo](http://github.com/arirusso)