Skip to content

Instantly share code, notes, and snippets.

@josephwilk josephwilk/gist:8196988
Last active Jan 1, 2016

Embed
What would you like to do?
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
You can’t perform that action at this time.