Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... , RedVector2D[1, 1], mass, mass*5); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ world.objects.do{|o, i| world.objects.do{|oo, j| if(i!=j, { o.addForce(o.gravityForce(oo)); if(o.loc.distance(oo.loc)<(o.size*2), { o.addForce(o.gr ...

  2. P3n1 Quark

    ... = if(x.even) { x div: 2 } { x * 3 + 1 }; if(endWhen == x) { nil } { x } }.flop; loop { if(x.isNil) { x = str.next(inval); if(x.isNil) { ^nil.alwaysYield } } { inval = x.yield; x = func.(x, inval).unbubble }; }; } storeArgs { ^[pattern] ++ e ...

  3. Concat Doc

    ... input; control= SoundIn.ar; input=PlayBuf.ar(1,bufnum,BufRateScale.kr(bufnum), loop:1); concat= Concat.ar(control,input,1.0,1.0,1.0,matchlength,freeze,0.0,1.0,0.0,0.0); Out.ar(0,Pan2.ar(concat,0.0))}).add; ) a=Synth(\concat1,[\bufnum, b.bu ...

  4. A3 - Granular Sampling by bbates (bbates) Code

    ... _____________________________ //BUF1 ( {Splay.ar(PlayBuf.ar(1, ~buf1, 1, loop: 1))}.play; {Splay.ar(PlayBuf.ar(1, ~buf1, 0.75, 0, 0, 1,))}.play; {Splay.ar(PlayBuf.ar(1, ~buf1, 0.625, 0, 0, 1,))}.play; {Splay.ar(PlayBuf.ar(1, ~buf1 ...

  5. SplineOsc Doc

    ... Gens > Generators'>Generators | Splines SplineOsc Extension Plays a spline in a loop with X as time, ignoring any time reversals Location: NOT INSTALLED! See also: SplineGen Description Not functioning as expected. Hmmmmmmm. ( y = BSpline([ ...

  6. OSCEvent Quark

    ... responder set up } /* r = Routine({ var ev; ev = OSCEvent(nil,'/n_go'); a = ev; loop { ev.wait; ev.msg.postln; ev.respAddr.postln; } }); r.reset.next ( ).play OSCresponder.all r.stop ().group.play */

  7. Pfinval Help

    ... , 5)}, Pseq ([1, 2, 3, 4, 5, 6], inf )*4+65), inf ); b = c.asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , b.next.midicps]); 0.12.wait; }) }).play; )

  8. SGliss Quark

    ... , playbackRate, \rateBlend.kr(1)); var pos= \pos.kr(0)%1*BufFrames.ir(buf); var loop= \loop.kr(1); var rand= Impulse.kr(1/BufDur.ir(buf)*rate*LFNoise1.kr(0.1, 0.2, 0.6), 0, 1-loop); PlayBuf.ar(1, buf, rate*BufRateScale.ir(buf), \trig.tr+ran ...

  9. 081-function_plot_image Doc

    ... .front; img= Image(width, height); widthCartPlane= 16; heightCartPlane= 16; //--loop w.draw{ cnt= cnt+0.05%width; dx= widthCartPlane/width; dy= heightCartPlane/height; x= widthCartPlane.neg/2; width.do{|i| y= heightCartPlane.neg/2; height.d ...

  10. 047-pendulum_3d Doc

    ... nil, nil, 1, 100) //world,loc,vel,acc,mass,size .theta_(0).angularVel_(1); //--loop w.draw{ Pen.color= Color.black; Pen.width= 1; obj.addForceAngular3D(world.gravity); obj.update; a= obj; //--render ploc= Rect.aboutRedVector3D(obj.pendulum ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow