Created
March 28, 2018 02:02
-
-
Save nasser/1e60c6d0c3c3c8e613bfe54b6d8bfebf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var osc = require('node-osc'); | |
var client = new osc.Client('149.31.122.172', 1234); | |
// /1/xy | |
// /1/fader1 | |
// /1/fader2 | |
// /1/fader3 | |
// client.send("/1/fader1", 100); | |
var i = 0; | |
setInterval(function() { | |
client.send("/1/fader1", i); | |
i += 1; | |
}, 100); | |
// client.send("/brush-y", 10); | |
// not the protocol | |
// client.send("/brush", 200, 200); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment