Skip to content

Instantly share code, notes, and snippets.

@efficacy
Created March 24, 2015 07:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save efficacy/e0c6e30ab872f5fe3e84 to your computer and use it in GitHub Desktop.
Save efficacy/e0c6e30ab872f5fe3e84 to your computer and use it in GitHub Desktop.
minimal node-osc
var osc = require('node-osc');
console.log('started...');
var client = new osc.Client('localhost', 4557);
setTimeout(function() {
var note = process.argv[2];
console.log('got note ' + note);
client.send('/run-code','play ' + note);
console.log('sent...');
}, 500);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment