Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (642) Code (56) Doc (227) Help (20) Quark (339) SCDoc ↗ Forum ↗ Google ↗
  1. 035-wave-phase Quark

    ... ; world.objects.do{|o, i| Pen.fillRect(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  2. HierSch Quark

    ... SchDict.new; myRate = 2 ** 5; // 32 ignoredHiers = []; this.schedChecker(dict); CmdPeriod.doOnce {ÊisRunning = false; }; } rate_ { |int = 32| ^myRate = int.nextPowerOfTwo; } rate { ^myRate } cease { isRunning = false; // stops the schedChec ...

  3. 177-springs_double Quark

    ... n.fillColor= Color.white; Pen.fillOval(Rect.aboutRedObject2D(obj2)); }; w.play; CmdPeriod.doOnce({w.close}); )

  4. 175-springs_interconnected2 Quark

    ... oc.distance(cent)*50, \pan, obj.loc[0].linlin(0, width, -1, 1) ); }; }; w.play; CmdPeriod.doOnce({w.close}); } )

  5. XiiFreqScope Quark

    ... elVals, setDBLabelVals; var scopeColor, bgColor, height, busNum; var onOffButt, cmdPeriodFunc, name, point; if(scopeColor.isNil, { scopeColor = Color.green }); if(bgColor.isNil, { bgColor = Color.green(0.1) }); busNum=0; height=300; name = ...

  6. 174-springs_interconnected Quark

    ... render objects Pen.addOval(Rect.aboutRedObject2D(obj)); }; Pen.fill; }; w.play; CmdPeriod.doOnce({w.close}); } )

  7. 091-livecoding-worlds Quark

    ... r.grey(1-(i/~n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; ~win.play; CmdPeriod.doOnce({~win.close}); ) //--livecoding swapping worlds under the feet of the boids ( ~world= RedUniverse.migrateAll(~world, RedWorld3(RedVector2D[400, ...

  8. EZSmoothSlider Quark

    ... Control, cutoffControl, resonControl; var balanceControl, ampControl; var node, cmdPeriodFunc; // define a synth SynthDef ( "window-test" , { arg note = 36 , fc = 1000 , rq = 0.25 , bal= 0 , amp= 0.4 , gate = 1 ; var x; x = Mix .fill( 4 , { ...

  9. EZRoundSlider Quark

    ... Control, cutoffControl, resonControl; var balanceControl, ampControl; var node, cmdPeriodFunc; // define a synth SynthDef ( "window-test" , { arg note = 36 , fc = 1000 , rq = 0.25 , bal= 0 , amp= 0.4 , gate = 1 ; var x; x = Mix .fill( 4 , { ...

  10. Bouncy_Balls Quark

    ... et(p.position.x.clip(0, width), p.position.y.clip(0, height), 0); }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).m ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow