Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... and 12000 is slower still // 120000 hasn't (yet) been tried 120.do({ n.fill(1.0.rand, 0, 0, 1.0.rand); n.rect(5.rrand(200), 5.rrand(100), 10, 10); n.oval(20.rrand(200), 20.rrand(200), 10, 10); n.arrow(40.rrand(200), 40.rrand(300), 10); n.st ...

  2. mrcl snippets #3: feedback timer by elgiano (elgiano) Code

    ... c = CombL.ar(m+(LocalIn.ar(2)*0.8),4,r.clip(0.0001,4),r*4); l = Resonz.ar(c,TRand.kr(20,20000,m),0.1,1000).tanh; LocalOut.ar(m+l); m+c; }.play ) ( Ndef(\fbTimerSel){ m = (Dust.ar(0.5!2)*20).tanh+\in.ar(0!2); r = Timer.kr( ...

  3. 190-kmeans Doc

    ... 5; //number of centroids ~www= world; //--objects { var loc= RedVector2D[width.rand, height.rand]; var vel= RedVector2D[0.3.rand2, 0.3.rand2].round(0.1); RedObject(world, loc, vel, 0, 1, 3); //world,loc,vel,acc,mass,size }.dup(n); kmeans= ...

  4. 190-kmeans Quark

    ... 5; //number of centroids ~www= world; //--objects { var loc= RedVector2D[width.rand, height.rand]; var vel= RedVector2D[0.3.rand2, 0.3.rand2].round(0.1); RedObject(world, loc, vel, 0, 1, 3); //world,loc,vel,acc,mass,size }.dup(n); kmeans= ...

  5. shifting_buttons Quark

    ... *** rshift 4 action: slot1 PREV ndef --- right bottom button \touchMove selects random new ndef on a slot --- TEST: hold down bottom right \touchMove, then click on any left button -> posts *** rshift ? action: slot1 RAND ndef 3. LEFT SIDE: ...

  6. Note Quark

    ... o = "C-2", hi = "G8"; ^Note(midi: midi.clip(lo.asNote.midi, hi.asNote.midi) ) } rand { arg lo = "C-2", step = 1; lo = lo.asNote.midi; ^Note(midi: (midi - lo).rand.round(step) + lo); } *rand { arg lo = "C-2", hi = "G8", step = 1; ^hi.asNote. ...

  7. RedGrainController Doc

    ... guments g.positionStart_({|o| o}); //no change g.positionStart_({|o, i| [0, 0.2.rand, 0.5].foldAt(i)});//pattern with random element g.positionStart_({|o| o+0.0015.rand2}); //minimal drunk g.positionStart_({|o| o+0.01.rand2}); //little drun ...

  8. Effects by egor (egor) Code

    ... Pbind(*[ dur: Pseq([1.2, 0.2, 0.5, Pseries(0.1, -0.001, 100)], inf), pan: Pxrand(#[-0.5, 0.5, 0.1, -0.1, 0.8, -1], inf), freq: 40, instrument: \brumm ]).play(); ) ( Pbind(*[ dur: Pseq([1.2, 0.2, 0.5, Pseries(0.1, -0.001, 100 ...

  9. RealVector Quark

    ... ector3D which are roughly 10% faster than RealVector. Creation / Class Methods *rand (size, lo, hi) random vector. size - dimension of vector. lo , hi - range of values RealVector .rand(4,-6.0,6.0); *canonB (i, n) ith element of canonic bas ...

  10. Confetti2 by henk-lasschuit (Henk Lasschuit) Code

    ... onfetti 2 /*Imagine a box that is divided into smaller compartments. You start randomly throwing beads (or marbles or grains) into it. Wheneven one compartment is full, you stop. Check how many beads there are in a compartment whenever a b ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow