ableton-push
v2.1.0
Published
Interface with the Ableton Push in Meshblu!
Downloads
6
Readme
ableton-push
A dead-simple interface to Ableton Push in node. Outputs color info as well as the button pushed.
Example code (please excuse the Coffeescript):
Ableton = require 'ableton-push'
config =
buttons: [
{
x:1
y:1
color:
r: 255
g: 0
b: 0
}
]
console.log config
ableton = new Ableton config
green = {r: 0, g: 255, b: 0}
ableton.on 'button', ({x,y,color}) =>
console.log({x,y,color})
ableton.setButtonColor {x,y, color: green}
ableton.connect()