-
... dRunning; }); ^false; } *prBindResponseMessages { | recvPort | assetAddedFunc = OSCFunc.new({ | msg, time, addr | var serial = msg[1]; var key = msg[2]; var callback = addCallbackMap.at(serial); if (callback.notNil, { addCallbackMap.removeA ...
-
... nthiGME: SynthiGME().run; }) }).play(AppClock); */ Routine({ var address, port, oscFunc, server, time_answer; time_answer = 1; port = 57500; while ({(time_answer != nil).and(port<58000)}, { // Se prueban 1000 puertos. Si tenemos respuesta d ...
-
... there" n = NetAddr.new("127.0.0.1", 57001); // create the NetAddr // create the OSCFunc o = OSCFunc({ arg msg, time, addr, recvPort; [msg, time, addr, recvPort].postln; }, "/version.reply", n); o.free; // remove the OSCFunc when you are don ...
-
... l); }); }, dt: 0.5, clock: SystemClock, autostart: false); signInCompleteFunc = OSCFunc.new({ |msg| userId = msg[1]; netAddr.sendMsg('/chatGetAllClients'); }, path: '/chatSignInComplete', srcID: netAddr); setAllClientsFunc = OSCFunc.new({ | ...
-
... ate; var <>onConnected; var <>onMessageReceived; var netAddr; var connectRequestOSCFunc; var connectAcceptOSCFunc; var connectConfirmOSCFunc; var sendOSCFunc; var ackOSCFunc; var disconnectOSCFunc; var disconnectConfirmOSCFunc; *bind { | po ...
-
... D, addActionID, target.nodeID ); ^group } waitForInstantiation { | nodeID | var oscfunc = OSCFunc.newMatching({ | msg | algaInstantiated = true; }, '/n_go', this.server.addr, argTemplate:[nodeID]).oneShot; //If fails to respond in 3 seconds ...
-
... odeID, *(args.asOSCArgArray) ); ^synth; } waitForInstantiation { | nodeID | var oscfunc = OSCFunc.newMatching({ | msg | algaInstantiated = true; }, '/n_go', this.server.addr, argTemplate:[nodeID]).oneShot; //If fails to respond in 3 seconds ...
-
... rk setupOscResponders= { oscResponders= [ //--from sKeyBpad and sQWERTYKeyboard OSCFunc({|msg| {win.view.keyDownAction.value(win.view, msg[1].asAscii, 0)}.defer; }, \keyboard, recvPort:oscPort), //--from sKeyCpad OSCFunc({|msg| {onButton.va ...
-
... gyro supported here so far) // * now in SC, check whether OSC messages arrive: OSCFunc.trace; OSCFunc.trace(false); // when you are sure you get proper osc data, make an MKtl: g = MKtl(\gyr, "gyrosc*"); g.gui; g.trace; // update with the a ...
-
... ere? Hail { var <addrBook, period, oscPath, authenticator, broadcastAddr, me, inOSCFunc, outOSCFunc, lastResponses; var skipJack; *new { |addrBook, period = 1.0, me, authenticator, oscPath = '/hail', broadcastAddr| addrBook = addrBook ?? { ...