A Ruby library (and sample apps) for playing with a monome (http://monome.org)
samaaron/monomer
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
== monomer created by Sam Aaron, with contributions from Ullrich Schäfer This is a Ruby library to interact with the fantastic box of wonder that is the monome (http://monome.org) It is most definitely work in progress, is evolving rapidly, and is already great fun to play with :-) This library has been developed and tested using a monome 128. If you have any issues with the 40h, 64 and 256 monomes, please contact me and I'll help as soon as I can. 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. Enjoy! == Installation * install JRuby version 1.1.2 or greater and make sure jruby is in your PATH (http://jruby.codehaus.org/), * launch monomeserial, * download monomer (the tarball would do just fine), * copy the mmj .jar and .jnilib files found in lib/java/ to /Library/Java/Extensions, * launch audio midi setup (found in /Applications/Utilities), * double-click on the IAC driver icon, * click on the little plus button to add a new port, * rename the two ports to in and out, * click the 'device is online' toggle at the top, * using the terminal navigate to the apps directory inside monomer, * decide which app to launch, * launch it with ./app_name.rb e.g: * ./blinken_lights.rb * make sure you have something set up to receive the midi (garage band will do), * enjoy! == Caveats 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. == Midi support requirement: - Requires usage of JRuby 1.1.2+ - Mac OS X + Java 1.4.2+ (more systems to follow) == LICENSE: (The MIT License) Copyright (c) 2007 Tom Preston-Werner Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
About
A Ruby library (and sample apps) for playing with a monome (http://monome.org)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published