-
... nge(0.2, 0.9), 1, sendID: 14) }.play; // register to receive this message ( o = OSCresponder (s.addr, '/diskin' ,{ arg time,responder,msg; var sendID = msg[2]; var index = msg[3]; msg.postln; "id: % pos: % frames (% sec)\n" .postf(sendID, i ...
-
... is can add some complexity to your code, but is in principle not an issue. (See OSCresponder and OSCresponderNode .) Some server abstraction objects such as Buffer provide for this automatically through 'action' functions which wait for com ...
-
... ( w = Window .new.front; a = SCLevelIndicator (w, Rect (10, 10, 20, 160)); o = OSCresponder (s.addr, '/levels' , { arg time, resp, msg; { a.value = msg[3].ampdb.linlin(-40, 0, 0, 1); a.peakLevel = msg[4].ampdb.linlin(-40, 0, 0, 1); }.defer ...
-
... can occur in an action function for many different kinds of objects: GUI, MIDI, OSCresponder, HID actions. This allows triggering patterns from a variety of interfaces. It's very unlikely that an action function would be triggered exactly i ...
-
... us functions include any scheduled function, responder function associated with OSCresponder, MIDIResponder, HID or GUI action functions, or actions used in server messaging (such as Buffer.read, Buffer or Bus .get, and so on). Environment ...
-
... .start; n.start; ~meters = [m, n]; ) s.boot; // MouseX controls noise amp ( o = OSCresponder (s.addr, '/tr' , { arg time, resp, msg; {~meters[msg[2]].level = (msg[3] + 0.01).explin(0.01,1.01, 0, 1);}.defer; }).add; b = Buffer .read(s, "soun ...
-
... e a function in response to a 'done' message, or indeed any other one, using an OSCresponder or an OSCresponderNode . The main difference between the two is that the former allows only a single responder per command, where as the latter all ...