Skip to content

A dead-simple interface to the Ableton push in node

License

Notifications You must be signed in to change notification settings

redaphid/ableton-push

Repository files navigation

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()

About

A dead-simple interface to the Ableton push in node

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published