-
... his) }, { "AlgaProxySpace: this environment has already been pushed".warn }); } pop { Environment.pop } quit { | onQuit | Alga.quit(onQuit, server); this.pop; } keys { ^nodes.keys } ////////////////////// // From Environment // //////////// ...
-
... y assigning a special pitch to the prey by choosing a note from a keyboard that pops up. Of course, preys and predators can be added to or removed from the environment. The ALife properties of this instrument are rather simple. We could hav ...
-
... r; }; priorityQ.notEmpty and: { nexttime - now < delta } } { stream = priorityQ.pop; outvalToMerge = stream.next(inval); outvalToMerge !? { // requeue stream priorityQ.put(nexttime + outvalToMerge.delta, stream); if(mergerEvent.notNil) { me ...
-
... ! 2) }; d.public = true ; // you can also enter the space: a.push; ~out.free; a.pop; // exit // now you can type into both of them, just as in examples in ProxySpace.help: ( var str; str = "\n ~out = { LFNoise2.ar(3000 + exprand(1.0, 2000), ...
-
... r.update2; ~leftObj.update; ~rightObj.update; if(list.size>height.div(2), {list.pop}); list.addFirst([~leftObj.loc[0], ~rightObj.loc[0]]); //store x positions //--render Pen.strokeColor= Color.red; Pen.line(~leftObj.loc.asPoint, leftWall.lo ...
-
... ; } if (this.pending === 0) { while (this.cbs.length !== 0) { var cb = this.cbs.pop(); process.nextTick(cb); } } }; Queue.prototype.onDone = function(cb) { E if (typeof cb === 'function') { this.cbs.push(cb); this._run(); } }; function done ...
-
... ect.start; func= {|path, releaseTime= 1| var b; if(File.exists(path), { buffers.pop.free;//free previous ("loading file"+path.asString.quote).postln; Routine.run({ b= Buffer.readChannel(s, path, channels:[0]); buffers.addFirst(b); s.sync; s ...
-
... .split( $/ ); newElement = FolderLibraryElement( path.last, [], 'folder'); path.pop; path.reverseDo( { |item| newElement = FolderLibraryElement( item, [ newElement ], 'folder' ); } ); ^newElement; } at { |key| ^contents.select( { |item| ite ...
-
... (this.sumF { |el| (el - mean).abs.squared } / (this.size - 1).max(1)) } variancePop { arg mean; // supply mean if known mean = mean ?? { this.meanF }; ^(this.sumF { |el| (el - mean).abs.squared } / (this.size).max(1)) } stdDev { arg mean; ^ ...
-
... $-: { Pen.rotate(theta/360* -2pi+noise.rand2); }, $[: { Pen.push; }, $]: { Pen.pop; }, $|: {|depth, depthLength, index| Pen.line(Point(0, 0), Point(0, depthLength.neg)); Pen.stroke; Pen.translate(0, depthLength.neg); } ); } addCommand {|ch ...