Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 5], inf ), Pseq ([0, 0, 1, 0, Pn (0, {30.rand}), 0, 1, 1], inf ) ).asStream; { loop { Synth ( \help_sinegrain , [ \freq , a.next * 200 + 200]); 0.02.wait; } }.fork; )

  2. 016-repulsive2 Doc

    ... ].rand, RedVector2D[0, 0], 1.5, 10) }.dup(n); //world,loc,vel,acc,mass,size //--loop w.draw{ Pen.strokeColor= Color.green; rep.loc= w.mouse; Pen.strokeRect(Rect.aboutRedObject2D(rep)); Pen.strokeColor= Color.white; world.objects.do{|o| if(o ...

  3. PV_LocalMax Help

    ... var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT ( LocalBuf (2048), in); chain = PV_LocalMax (chain, MouseX .kr(0, 100)); Out .ar(out, 0.5 * IFFT (chain).dup); }).play(s,[ \out , 0, \soun ...

  4. SWPlotterMonitor.help Quark

    ... le use, plotting some fake data: ( // some fake data e = 0; f = 0; r = Routine{ loop { e = 0.0.rrand(1); f = 0.0.rrand(1).cos; 0.5.wait; } }.play; // look at the data m = SWPlotterMonitor.new( { //data to plot [ [e, f], // view the two stre ...

  5. p_map_polar Quark

    ... \p_map_polar, { |unit, rho = 0, theta = 0, center = (0@0), radius = (10@10)| { loop { (Polar(rho.next, theta.next).asPoint.asArray * radius.next.asArray + center.next.asArray).asPoint.yield }; }.r }).category_( 'pattern_point' ) .valueIsMa ...

  6. 016-repulsive2 Quark

    ... ].rand, RedVector2D[0, 0], 1.5, 10) }.dup(n); //world,loc,vel,acc,mass,size //--loop w.draw{ Pen.strokeColor= Color.green; rep.loc= w.mouse; Pen.strokeRect(Rect.aboutRedObject2D(rep)); Pen.strokeColor= Color.white; world.objects.do{|o| if(o ...

  7. jitlib_efficiency Doc

    ... already on the server ~a = Pbind(\instrument, name, \freq, ...); ~a = Routine({ loop({ s.sendMsg("/s_new", name, ...)}) }); ~a.refresh; ~a.wakeUp; // waking up a stopped proxy does not require a resend ⧉ ✔ these resend the synth with new pr ...

  8. tired pads by shouhei (xffff) Code

    ... ight.. zzzzzz // easy subsynth with dynklank and simple scale ( fork{ loop{ var time; time = 5.rand; { var sound, freqs, envs, rings, numvoices, env; numvoices = 40; freqs = {(Scale.major(\just).degrees+26+ ...

  9. 045-pendulum4 Doc

    ... d,loc,vel,acc,mass,size .theta_(2pi.rand).angularVel_(1.5.rand2); }.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; Pen.width= 1; world.objects.do{|o, i| world.objects.do{|oo, j| if(i!=j, { o.addForceAngular2D(o.gravityForce(oo)); }) ...

  10. 052-boids3 Doc

    ... ss, mass*5) //world,loc,vel,acc,mass,size .maxForce_(1.rrand(6)); }.dup(n); //--loop w.draw{ world.objects.do{|o, i| if(i!=0, { o.addForceWander2D; o.addForceSeek(world.objects[0].loc); }, { o.addForceWander2D; }); o.addForce(world.gravity) ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow