Last active
January 1, 2016 20:29
-
-
Save josephwilk/8196988 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dir = File.dirname(File.expand_path(__FILE__)) | |
$LOAD_PATH.unshift dir + '/../lib' | |
require 'midi-jruby' | |
MIDIJRuby::Input.first.open do |input| | |
while true do | |
m = input.gets | |
$>.puts(m.inspect) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment