Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (337) Code (37) Doc (64) Help (26) Quark (207) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. AlgaProxySpace Quark

    ... 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 // //////////// ...

  2. predators Quark

    ... 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 ...

  3. ParallelStreams Quark

    ... 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 ...

  4. public_proxy_space Quark

    ... ! 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), ...

  5. 178-springs_coupled Quark

    ... 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 ...

  6. index.js Quark

    ... ; } 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 ...

  7. oo_soundfiles Quark

    ... 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 ...

  8. FolderLibrary Quark

    ... .split( $/ ); newElement = FolderLibraryElement( path.last, [], 'folder'); path.pop; path.reverseDo( { |item| newElement = FolderLibraryElement( item, [ newElement ], 'folder' ); } ); ^newElement; } at { |key| ^contents.select( { |item| ite ...

  9. extStatistics Quark

    ... (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; ^ ...

  10. RedLTurtle Quark

    ... $-: { 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 ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow