-
... ++ 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 ...
-
... ).add; ) ( var t; a = Pprob ([0, 0, 1, 0, 1, 1, 0, 0], 60, 80); t = a.asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , t.next.midicps]); 0.01.wait; }) }).play; ) a.distribution = [0, 1]; a.distribution = [1, 0]; a.distributio ...
-
... 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 ...
-
... parate groups for the sub patterns, but the class is currently broken. Pspawner(routineFunc) The function is used to make a routine. A Spawner object gets passed into this routine, and this object is used to add or remove streams to/from th ...
-
... 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 ...
-
... 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 ...
-
... poClock(2.1)); clock.play; e=AnalyseEventsDatabase.new; e.analyse(clock:clock); Routine.run({ b=BBCutBuffer(Platform.resourceDir +/+ "sounds/break.aiff",8); s.sync; //this forces a wait for the Buffer to be allocated //3 beats into the past ...
-
... "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 = [ ...