A Ruby library (and sample apps) for interacting with the monome using the Ruby programming language and osc
Created by: Sam Aaron, with contributions from Ullrich Schäfer
It is most definitely work in progress, is evolving rapidly, but is already great fun to play with
The library is stored in a publicly available git repository. This allows for excellent collaboration and development; feel free to clone your own version and send me pull requests so I can merge your changes to the master branch.
If all this git stuff sounds too much like hard work, you can always fetch the latest tarball from this link: http://github.com/samaaron/monomer/tarball/master
In order to use this library, you must have monomeserial running. The address pattern prefix will be automatically set to /monomer, and the cable orientation will be automatically set to up. Simply navigate to the apps folder in a terminal and run one of the scripts like you would normally run a shell script:
Or to force a particular interpreter:
This library has been developed and tested using a monome 128 and on OS X Leopard. If you have any issues with the 40h, 64 and 256 monomes, please contact me and I'll help as soon as I can. Monomer requires the JRuby interpreter. It's much faster (with cool stuff like JIT support) and has a decent thread implementation. Make sure you're using v1.1.2+ If things aren't working on Windows and you know how to fix them, I'll be happy to receive pull requests. Also cable orientation other than up isn't available yet, although it is planned.