@Emil It works now! Thanks so much for your help!
Posts made by ryan_joyner
-
RE: Simple OSC Module Works...once
-
RE: Simple OSC Module Works...once
@Emil Thanks for responding. Is there a quick and dirty fix I can use for now? Can I somehow restart the process to get it to "relisten" for the buttonDown event?
-
Simple OSC Module Works...once
I have successfully implemented the SDK to create an OSC module that send a trigger to QLab. However, it only works once. In other words, I press the button, it send the OSC string to QLab, everything works as it should. But then it's as if it stops listening for another button press. Am I missing something? Here is my JS in main.js:
var oscClient = require("./osc").create("192.168.1.202", 53000); var buttonManager = require("buttons"); buttonManager.on("buttonDown", function(obj) { oscClient.send("/cue/2/start", function() { console.log("message sent"); }); });```