-
... t { |delay = 0| if( servers[0].addr.ip.asSymbol == '127.0.0.1' ) { if(delay>0){ Routine({ servers.do{ |server| server.boot; delay.wait; } }).play }{ servers.do(_.boot) } } } quit { if( servers[0].addr.ip.asSymbol == '127.0.0.1' ) { servers. ...
-
... ++ rrand(0,100).asString ++ " " ++ rrand(0,100).asString); 0.1.yield}}.fork}, "routine of random adding"); c.add(\stopTask, [\str], {a.stop}, "stop add routine"); c.add(\add, [\str, \num, \arr], {|str, num, arr| (num + arr).postln;}, "adds ...
-
... ction:2); Out.kr(bus, Impulse.kr(tempo * subd)); }).send(server); aliveThread = Routine({ { nodeID = nodeIDBounce - nodeID; server.sendBundle(server.latency, [\s_new, \TempoClick, nodeID, 0, 0, // at head of group 0 \tempo, clock.tempo, \su ...
-
... ction:2); Out.kr(bus, Impulse.kr(tempo * subd)); }).send(server); aliveThread = Routine({ { nodeID = nodeIDBounce - nodeID; server.sendBundle(server.latency, [\s_new, \TempoClick, nodeID, 0, 0, // at head of group 0 \tempo, clock.tempo, \su ...
-
... outBusses[0], \outBus1 , outBusses[1] ], target: group); } } fork{ } returns a Routine using the supplied function. And Routine is a function which can return in the moddle and resume where it left off later on. Why do we need this? In the ...
-
... osition.y)); }; //? Pen.stroke; }; }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(App ...
-
... "1 2 3 6", "1 2 5 6", etc. An example not using patterns, but just JSMini: ``` Routine({ // played parts derived from video // "Philip Glass Polyrhythms | Minimalist chord trick" // https://www.youtube.com/watch?v=gxismSpBtII var parts = [ ...
-
... mutationFunc, fitnessFunc, chromInterpreter, gaInstance, win, view, drawPaths, routine; //problem numPoints = 25; points = { 500.0.rand@500.0.rand } ! numPoints; //ga funcs randChromFunc = { (numPoints - 1, (numPoints - 2) .. 1).collect ({ ...
-
... nesCursor= 0; var freqLfoRateAdd= 0; var setupOscResponders, oscResponders; var routineGui; var sGliss_bus; var mainOutSyn; var mixSwitch= 0; //states for nanokontrol. 0= default, 1= mixer //--gui var ampSelectButtons, ampStack; var ampRang ...
-
... outputpath = outputpath.standardizePath; filesproduced = Array.new(files.size); Routine({ files.do { |filepath| if(sfreader.openRead(filepath.fullPath).not, { ("Error: SoundFile could not read "++filepath).postln; }, { //"DEBUG: Opened soun ...