MIDIator is a nice, accessible way to make music from your code. It was inspired by Topher Cyll’s fantastic Practical Ruby Projects book. In it, Topher describes how to interact with the MIDI providers in OSX, Linux, and Windows. As I was reading the book, I noticed some things I would do differently, which got me thinking that maybe it would be valuable to package up my modifications to the book’s code and release it as a gem.

As of March 2012, I am no longer maintaining midiator. If you’re looking for an alternative, please check out Ari Russo’s project unimidi.

Get The Code

If you just want to use Midiator, you can install it via RubyGems:
gem install midiator
Fork me on GitHub If you want to hack on Midiator, clone it from GitHub:
git clone https://github.com/bleything/midiator