Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5475) Code (807) Doc (1945) Help (663) Quark (2016) Plugin (44) SCDoc ↗ Forum ↗ Google ↗
  1. 200-discrete_world_ca Quark

    ... ; }); }; Pen.smoothing_(false); Pen.strokeColor_(Color.white); Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); ~world= world; ) ~world.objects.do{|o| o.state= 0}; //clear ( var glider= #[[2, 0], [0, 1], [2, 1], [1, 2], [2, 2]]+1; ~world ...

  2. dog Quark

    ... se0.kr([3, 5, 7], 0.5, 1), ringtime) * ((dens ** -0.5) * (ringtime ** -0.3) ); Splay.ar(form * dusty, level: amp) ; }); ); Ndef(\dog).addHalo(\orderedNames, Ndef(\dog).controlKeys); /* Ndef(\dog).controlKeys; Ndef(\dog).vol_(0.5); NdefPrese ...

  3. extPlotTreeScale Quark

    ... fit larger trees when needed s.boot; s.plotTree (tabSize: 20); g = Group.new.isPlaying_(true); 10.do { |i| Ndef(i.asSymbol).parentGroup_(g).put(0, { Silent.ar }).play }; fork { 100.do { ().play; 0.3.rand.wait } }; renamed these to plotTree ...

  4. AssemblageRecording Quark

    ... spaceMaster).source; //the master's clip2 limiter is slot 1 of spaceMaster (see play); //clear removes it, so put it back if it was there hadLimiter = Ndef(\spaceMaster).objects[1].notNil; "Ndef('spaceMaster').clear;".radcode; Ndef(\spaceMa ...

  5. 235-3Dplanes Quark

    ... Pen.use{ Pen.translate(o.loc[0], o.loc[1]); planes[i].drawOutlines; }; }; }; w.play; CmdPeriod.doOnce({w.close}); )

  6. RedWindow Quark

    ... lost if setting userView.mouseDownAction RedWindow : SCWindow { var <>mouse, <isPlaying= false, <userView; *new {|name= "redWindow", bounds, resizable= false, border= true, server, scroll= false| ^super.new.initSCWindow(name, bounds, resiza ...

  7. 050-boids Quark

    ... olor= Color.grey(1-(i/n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  8. rewriteString Quark

    ... iteString(c, 5) ); Pbind ( \instrument , \sinegrain , \degree , z, \dur , 0.1 ).play; ) // which is the same as: ( k = Pseq ([0, 5]); c = IdentityDictionary [ 0 -> [5, 0], 5 -> [3, 0] ]; z = Prewrite (k, c, 5); Pbind ( \instrument , \sinegr ...

  9. RedGrainController Quark

    ... pos, i); redGrain.amp= this.prFuncAmplitude(redGrain.pos, i); delta.wait; }; }).play; } stop {task.stop} pause {task.pause} resume {task.resume} //--private prFuncPosition {|pos, i| var buf, step; buf= redGrain.buf; step= delta/(buf.numFram ...

  10. ListeningClocks Quark

    ... TempoClock { var <>dt = 0.1, <>verbose = false; var fadeTask, <fading=false, <isPlaying=true; var <rateOfChange = 1.0; var <>minTempo = 0.01, <>maxTempo = 100; classvar <>all; *new { arg tempo, beats, seconds, queueSize=256; ^super.new.init ...

prev 111 112 113 114 115 116 117 118 119 120 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow