Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (14 sloc) 0.41 kB
require 'coremidi'
require 'midi_in'
# Start archaeopteryx
# Start GarageBand (just to make sure it's all working)
# Open MIDI Patch Bay.app
# Create a new input (anyname)
# Create a new output (anyname)
# GarageBand will announce that it has found a new input
# You should have sound, yay
# Now run this script
midi_in = MidiIn.new
midi_in.scan
midi_in.link(0)
midi_in.capture {|data| puts data.inspect}
Jump to Line
Something went wrong with that request. Please try again.