Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (642) Code (56) Doc (227) Help (20) Quark (339) SCDoc ↗ Forum ↗ Google ↗
  1. eternal_return Quark

    ... .bounds_( Rect (20, 280, 670, 481));\ d.onClose = \ w.close; windowFollow.stop; CmdPeriod .remove(playRout); \;\ w.onClose = \ windowFollow.stop; CmdPeriod .remove(playRout); \;\ d.toFrontAction = d.toFrontAction.addFunc \\ if(w.isClosed.no ...

  2. 190-kmeans Quark

    ... ors[i].alpha= 0.5; Pen.fillOval(Rect.aboutRedVector2D(cent, 15)); }; }; w.play; CmdPeriod.doOnce({w.close}); ) //--play with the number of centroids/clusters ~k= 15 ~k= 50 ~k= 1 ~k= 2 ~k= 3 //--add some gravity to make things harder ~www.gr ...

  3. PatternBoxLauncherItemView Quark

    ... atternBoxView.patternBoxName; onCommandPeriodFunc = { this.onCommandPeriod();}; CmdPeriod.add(onCommandPeriodFunc); this.initializeView(); } initializeView { mainLayout = GridLayout(); mainLayout.margins_([5,5,20,5]); mainLayout.vSpacing_(5 ...

  4. RedTempoClockGUI Quark

    ... (TempoClock.all[0].tempo); }); win.alpha= GUI.skins.redFrik.unfocus; win.front; CmdPeriod.doOnce({win.close}); } close { if(win.isClosed.not, { win.close; }); } }

  5. red05 Quark

    ... therEnd.position.x, s.getTheOtherEnd.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).m ...

  6. extObject-onChange Quark

    ... }, true, false ); // replace = false; there can be many of these for one synth CmdPeriod.add( { controller.remove } ); // clean up after cmd-period ^condition.wait; // return the condition } } + Node { freeAction_ { |action| // performs ac ...

  7. README Quark

    ... all sound, and keep an eye on the plot tree and post window (yes, it respawns) CmdPeriod.run; // Change some parameters MainHPF.set(\freq, 950) ``` ### Installation Open up SuperCollider and evaluate the following line of code: `Quarks.ins ...

  8. 173-springs_soda Quark

    ... lor.grey(0.8, 0.5); }); Pen.fillOval(Rect.aboutRedObject2D(obj)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  9. IBVAfft Quark

    ... Afft(ibva); } initIBVAfft {|argIbva| ibva= argIbva; this.prInit(ibva.sr ? 120); CmdPeriod.doOnce({this.stop}); } start { "%: started".format(this.class.name).postln; func= {|...args| if(ibva.sr.nextPowerOfTwo<8, { "%: minimum sampling rate ...

  10. SCLOrkWire Quark

    ... s, timeout ).init; } init { retries = 0; nextTime = Main.elapsedTime + timeout; CmdPeriod.add(this); netAddr.sendMsg(*message); retryFunction = { if (retries < maxRetries, { if (keepGoing.value, { netAddr.sendMsg(*message); retries = retrie ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow