-
... sync; n = NetAddr("127.0.0.1"); // local machine; port left unspecified OSCdef(\startPattern).free; // free old OSCdefs that may still be around OSCdef(\startPattern, { | msg, time, addr, port | ("start pattern " ++ msg[1]). ...
-
... adapted to "OSC control" mode by changing "/Right_hand" and "Left_Hand" in the OSCDefs with the correct joint names. In that case You'd also need sigle channel buses. OSCDef and Bus definition and mapping could be of interest to whoever w ...
-
... dAction:\addToTail); }); }; ~cleanup = { s.freeAll; Buffer.freeAll; OSCdef.freeAll; s.newBusAllocators; ServerBoot.removeAll; ServerTree.removeAll; ServerQuit.removeAll; }; // register functions ServerBoot.add(~make ...
-
... tracker on scsynth Synth(\ampTracker); ( // receive the values in sclang OSCdef(\ampTracker, { |m| m.postln; // now use m[3] for your purpose (detecting changes, etc...) }, '/amp'); )
-
... tracker on scsynth Synth(\ampTrigger); ( // receive the values in sclang OSCdef(\ampTrigger, { |m| m.postln; // now use m[3] for your purpose // or just fire up a synth from this function ;) }, '/ampTrigger'); )
-
... fs to read the sendReplies and put them into the array. Evaluate this... ( OSCdef.new(\tracker,{ arg msg; //~ocean.postln; ~ocean.add( msg[3]); if(~ocean.size>=8,{ ~ocean.pop; }); ~ocean.addFirst(msg[3]); }, '/ ...
-
... titySet['/b_allocRead', '/b_allocReadChannel', '/b_read', '/b_readChannel']; OSCdef(\bufWatcher, { |msg, time, addr| var server, buf; case { readCmds.includes(msg[1]) } { server = Server.all.detect { |item| item.addr == addr }; ...
-
... ply.kr(Impulse.kr(40), '/mouse', sig); 0 }.play(target:h); s.sync; OSCdef(\mouse, { arg msg; /* when SendReply sends a value to the language, use that value as an interpolation parameter and update the wavetabl ...
-
... .rec.isRunning, {~loop.phasor.set(\t_stop, 1)},{Fdef(\loopRec).value}); }); OSCdef(\loopDur, {|m| var dur= m[3]*s.sampleRate; Fdef(\loopStopRec).value(dur); Fdef(\loopPlay).value; }, '\loopStopRec'); "SYNC_LOOP OK !".postln; }) ...