UNPKG

ableton-push

Version:

Interface with the Ableton Push in Meshblu!

34 lines (24 loc) 529 B
# 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() ```