Project: SC_Monome
SuperCollider classes providing support for the Monome 40h controller.
The Monome 40h is an OSC controller comprising of a grid of 64 backlit buttons. Given SuperCollider's native OSC support, it's a trivial task to interface the two. These helper classes provide wrappers around common functions, and generally augment development and performance using the 40h.
- Monome.sc is a wrapper class to handle and create 40h events.
- MonomEm.sc is a visual emulator for the 40h, representing it as a windowed grid of 8x8 buttons and responding identically to OSC events.
- MonoMIDI.sc creates a bridge between 40h OSC and MIDI messaging, enabling the 40h to be used to control MIDI applications.
Thanks to Tristan Strange for 128/256 support and prefix extensions.
Download
Download the latest snapshot.
The code can also be found on github:
git clone git@github.com:ideoforms/sc-monome.git
Usage
// Monome m = Monome.new(host, port); m = Monome.new; m.action = { |x, y, on| [x, y, on].postln; }; m.led(5, 6, 1); m.led_row(4, 255); m.intensity(0.5); m.clear; // MonomEm e = MonomEm.new(host, port); m = Monome.new(host, port); m.action = { |x, y, on| [x, y, on].postln }; m.led(5, 6, 1); // MonoMIDI m = MonoMIDI.new;