-
... at_d, q.cycle ); (1/4).wait; } }.play(q.master_clock, quant: 1) }; /* Part A */ OSCFunc({ |msg| var time, bpm, beat_n, beat_d, cycle; if(q.is_master) { # time, bpm, beat_n, beat_d, cycle = msg[1..]; q.broadcast.sendMsg("/clock/bpm/update", ...
-
... 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| onElement.va ...
-
... e part of the Unit lib default UMapDefs set */ ValueUMapDef( \osc_set, { |unit, oscfunc| var message, spec; oscfunc.free; spec = unit.getSpec( \value ); message = unit.get( \message ); if( message.size == 0 ) { message = unit.unitArgName; u ...
-
... e part of the Unit lib default UMapDefs set */ ValueUMapDef( \osc_set, { |unit, oscfunc| var message, spec; oscfunc.free; spec = unit.getSpec( \value ); message = unit.get( \message ); if( message.size == 0 ) { message = unit.unitArgName; u ...
-
... Addr("OpenBCI_WifiShieldOSC.local", 13999)}; CmdPeriod.add(this); responders= [ OSCFunc({|msg, time, addr, port| "% shield ready (%)".format(this.class.name, addr.ip).postln; initAction.value(this, addr); accel= #[0.0, 0.0, 0.0]; }, \ready, ...
-
... cator { classvar <>timeOut = 5; var challenge, oscPath, challInds, challResponseOSCFunc; *new {|challenge, oscPath = '/challengeAuth'| ^super.newCopyArgs(challenge, oscPath).init; } init { // OSC sends Strings as Symbols, which is a minor p ...
-
... l; "newMax(%) = %".format(i, val).inform; }; }; } pr_makeResponders { capResp = OSCFunc( {|msg| var arr = msg[1].collect(_.asAscii).join; try({ capRawVals = arr.split($ ).asInteger; trace[\cap].if{ "caps:\t%".format(capRawVals).inform; }; c ...
-
/* out of order, needs fixing */ ( thisProcess.removeOSCRecvFunc(~oscFunc); ~oscFile !? { ~oscFile.close }; ~oscFile = File("~/osc-log.txt".standardizePath, "w"); ~oscFunc = { |x, time| if(x[0] == '/play2') { ~oscFile <<<* ([time] ++ x[1..] ...
-
... an incoming OSC message onto a bus Location: NOT INSTALLED! See also: DataBus , OSCFunc Description OSCBus creates an OSC responder for a specific OSC tag, and puts incoming data onto a bus. The data is assumed to be all floats or integers. ...
-
... erCounts, <master; classvar <>recSynths; classvar <>masterCountTime; classvar <>oscFunc; classvar <>global; classvar <>ready; classvar <>inBus = 0, <>outBus = 14; classvar <>latency = 0.2; classvar <>current; classvar <>checkForServerQuit = ...