-
... erEnd.position.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 ...
-
... e) asStream { if(markovset.order > 1, { "not yet implemented".postln; ^nil }); ^Routine.new({ arg inval; var items, bag; items = [markovset.seeds.choose, 1, 1]; length.do({ if(items.notNil, { bag = markovset.dict.at(items.at(0)) }); items = ...
-
... 00DRM0", argBaudrate, crtscts:true); CmdPeriod.add(this); this.softReset; task= Routine({this.prTask}).play(SystemClock); } close { "%: stopping and closing serial port".format(this.class.name).postln; task.stop; port.close; CmdPeriod.remov ...
-
... for RT sequencing: because of this aspect, it can be thought as a wrapper for a Routine . The task simply navigates the graph. From the starting vertex, it chooses randomly among the edges departing from it, sets the ending vertex as the ne ...
-
... )} ); } addEntityAndRepresentation{ arg delay; entity.queuedForAddition_(true); Routine{ if(delay.notNil) {delay.wait}; if (entity.active.not){entity.add}; this.addRepresentation; }.play; } addRepresentation{ repManager.add(this); } storeEn ...
-
... def.key ) }; ##### */ q.choiceNewNdefFunc = {|env, slotIndex, choiceIndex, key| Routine{ // var a = q.allSoundNames[slotIndex]; var path = q.allSoundPaths.detect{|path| path.contains(key) }; var choiceNdef = Ndef(key.asSymbol); var choiceOl ...
-
... de(\radpostcont); }); }; }, check: { Ndef('track1').get('volume') == -6 } ); // Routines started inside withSource keep the source; ~variables written // inside it land in the surrounding environment; outside, there is no source. ~radTest.( ...
-
... lator : HadronPlugin { var synthInstance, prOutBus, postOpText, postOpFunc, pollRoutine, modControl, startButton; *new {|argParentApp, argIdent, argUniqueID, argExtraArgs, argCanvasXY| var numIns = 1; var numOuts = 0; var bounds = Rect((Win ...
-
... on: Done.freeSelf); OffsetOut.ar(out, Pan2.ar(z, pan, amp)); }, [\ir]).add; ) ( Routine.run({ ~numSynths = 10; ~freqBuffers = Buffer.alloc(s, ~numSynths, 1); s.sync; ~synths = ~numSynths.collect({ | index | Synth.newPaused(\defaultP, [\freq ...
-
... earWarp), 0.1); c[4].setup("Scale", ControlSpec.new(0, 1, LinearWarp), 0.0, 3); Routine.new({ var d; d = [[0, 2, 4, 5, 7, 9, 11], [0, 2, 3, 5, 6, 8, 9, 11], [0, 2, 4, 6, 8, 10]]; inf.do({ arg n; var f; f = (d[c[4].state].choose + 48 + [-12, ...