Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. CountLimit Doc

    ... reafter returns false. ( s = CountLimit.new(10); 100.do({ arg i; var r; r = 100.rand; if(s.value(r),{ [i,r].postln; }) }); [ 0, 58 ] [ 1, 37 ] [ 2, 39 ] [ 3, 82 ] [ 4, 99 ] [ 5, 93 ] [ 6, 27 ] [ 7, 38 ] [ 8, 20 ] [ 9, 77 ] ) ⧉ ✔ Class Metho ...

  2. ThrashCutProc1 Quark

    ... t will break the bank, just do a silent end to that bar whichriff=database.size.rand; } //unravelling the shortcut notation above with the thrash rolls feature calcblock { arg next; var bl, block,offset, amp, duty, durs; bl= next.at(0); //b ...

  3. the_lazy_proxy Doc

    ... derives its bus arguments from that input ~x = { Array.fill(14, { SinOsc.kr(1.0.rand, 0, 100) }) }; //~x is now 14 channels control rate ~x; ⧉ ✔ in order to reset these properties, clear is used: ~x.clear; //note that no other proxy should ...

  4. GMMultiButton Doc

    ... m drawing to the button : GMMultiButton() .states_([ ( string: "", color: Color.rand, fontColor: Color.black, svg: "path/to/a/file.svg" ), ( string: "", color: Color.rand, fontColor: Color.black, svg: "path/to/another/file.svg" ) ]); ⧉ ✔ on ...

  5. 010-attraction Doc

    ... RedVector2D[0, 0], RedVector2D[0, 0], 105, 10); { var loc= RedVector2D[30, 30].rand; //start at random position upper left RedObject(world, loc, RedVector2D[1.5, 1], RedVector2D[0, 0], 1.5, 10); //world,loc,vel,acc,mass,size }.dup(n); //-- ...

  6. SimpleController Help

    ... ove}; // run a routine to change the model's value: r{ 100.do{ model.value_(1.0.rand.postln).changed( \value ); 0.5.wait; } }.play( AppClock ) )

  7. 010-attraction Quark

    ... RedVector2D[0, 0], RedVector2D[0, 0], 105, 10); { var loc= RedVector2D[30, 30].rand; //start at random position upper left RedObject(world, loc, RedVector2D[1.5, 1], RedVector2D[0, 0], 1.5, 10); //world,loc,vel,acc,mass,size }.dup(n); //-- ...

  8. CutRev1 Doc

    ... ), BBCutProc11()).play(2.5); BBCut2(CutGroup([CutBuf3(~buf, 0.3), CutRev1({ 1.0.rand }, 0.3)]), BBCutProc11()).play(2.5); ⧉ ✔ helpfile source: /tmp/scquark_hs/BBCut/HelpSource/Classes/CutRev1.schelp link::Classes/CutRev1::

  9. wsGui_examples Quark

    ... ton imitates SC style multistate button i.states_([ ["zero", Color.black, Color.rand], ["one", Color.black, Color.rand], ["two", Color.black, Color.rand] ]); i.states_([ ["Basic Balance", Color.black, Color.white], ["Basic Balance Pending", ...

  10. 01_GuidedTour Quark

    ... lay; x.free; ( Ndef(\sins).fadeTime = 3; Ndef(\sins, { Splay.ar( SinOsc.ar({ exprand(50, 2000) }!12) ) * 0.1 }).play; ) ( Tdef(\sins, { loop { Ndef(\sins).rebuild; exprand(5, 20).wait; } }).play; ) Tdef(\sins).stop; Ndef(\sins).end; // on m ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow