Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. TestFB Quark

    ... ) c.ct = 3; a.ct = 5 c.replace({\in.ar(0).range(-30, rrand(10, 10))}); ( fork { loop { c.replace({\in.ar(0).range(-30, rrand(10, 100))}); 3.wait; } } ) b.ct_(1).replace({SinOsc.ar(1 + \fm.ar(0))}) a.replace({SinOsc.ar(1 + \fm.ar(0))}) b.rep ...

  2. painter Quark

    ... wiring.removeAt(wiring.indexOfEqual([v, e[0]] )) ; // stolen from graphista // loop if (v == e[0], { i = 10+(i*10) ; labelList = labelList.add( // edge labels GUI .staticText.new // 20 is empirical (w, Rect.new(tx-(i*0.5)-large, ty-(i*0.5) ...

  3. fractal tweets by aucotsi (aucotsi) Code

    ... // the funny thing is that when you have a negative input this folds into a loop! // the correct formula is this below a=73;r=r{inf.do{a=a.asInteger;if(a==1){r.stop};if(a.even){a=a/2}{a=a*3+1};play{Blip.ar(a)!2*EnvGen.ar(Env.perc,1, ...

  4. 175-springs_interconnected2 Doc

    ... and(300)); }); }.select{|x| x.notNil}; }.flat; syns= {Synth(\imp2)}.dup(n); //--loop w.draw{ //--render Pen.smoothing= true; Pen.strokeColor= Color.white; sprs.do{|spr| spr.update; //--render springs Pen.moveTo(spr.object.loc.asPoint); Pen. ...

  5. TempoBusClock Doc

    ... ar(Impulse.ar(tempo), [501, 500], 1/tempo) }.play; t = TempoBusClock(a); Task { loop { "klink".postln; 1.wait } }.play(t); ); t.tempo = 1.3; t.tempo = 0.5; t.tempo = 1.0; // in ProxySpace, a TempoBusClock can be added together with a ~tempo ...

  6. 175-springs_interconnected2 Quark

    ... and(300)); }); }.select{|x| x.notNil}; }.flat; syns= {Synth(\imp2)}.dup(n); //--loop w.draw{ //--render Pen.smoothing= true; Pen.strokeColor= Color.white; sprs.do{|spr| spr.update; //--render springs Pen.moveTo(spr.object.loc.asPoint); Pen. ...

  7. nanoKtl1 Quark

    ... Vol transport buttons: nk1: rew, play, fwd: rand, prev, next influx preset nk1: loop, stop, rec: rand, prev, next MainFX preset ***********/ /* // flexify name in order to build multiple MKtls with this file: // TEST: m.gui */ // Use makeMK ...

  8. PV_Div Doc

    ... an grab the FFT buffer and peek at the magnitudes ( p = Plotter.new; t = Task { loop { 0.1.wait; b.loadToFloatArray(action: { |data| { p.value = data[2..] .clump(2) .collect { |a| a[0].squared + a[1].squared } .collect { |a| if(a.isNaN) { 0 ...

  9. PstepNfunc Doc

    ... 3]) ] ).asStream; 50.do({ x.next.postln }); ) // note that if the last pattern loops it will stick to that one: ( f = { |vals| vals.postln; }; x = PstepNfunc(f, [Pseq([1, 2, 3]), Pseq([10, 20, 30, 40]), Pseq([100, 200, 300], inf)]).asStrea ...

  10. Exercise_06_HOA_scenes_simple_manipulations Doc

    ... l monitor it with headphones ) ⧉ ✔ We will load a very short sound file that we loop so that we can observe the soundfield transformations: ~hoaSoundFile = Buffer.read(s,HOA.soundsDir++"/eigen_ACN_N3D_CIRMMT_Foyer_short.wav"); ~hoaSoundFile ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow