Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 0, 50); }.dup(n); //world,loc,vel,acc,mass,size boxes= {Red3DBox()}.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; Pen.fillColor= Color.green(1, 0.25); world.objects.do{|o, i| thetas[i]= thetas[i]+speeds[i]; boxes[i].rotation= RedVe ...

  2. Pser Doc

    ... }).add; ) ( a = Pser([Pser(#[60, 61, 63, 65, 72], 3)], inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, a.next.midicps]); 0.2.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pser.sche ...

  3. softSet Doc

    ... trol EZSlider(w, 340@30, \knowsLast, \freq, Routine { |sl| var newVal, lastVal; loop { newVal = sl.value; Ndef(\test).softSet(\freq, newVal, 0.05, lastVal: lastVal); lastVal = newVal; \dummy.yield; } }); // same for volume - not too safe EZ ...

  4. 233-3Dlines Doc

    ... ass,size lines= {|i| Red3DLine(RedVector3D[0, i+1/n-0.5, 0], 1.75)}.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; world.objects.do{|o, i| thetas[i]= thetas[i]+speeds[i]; lines[i].rotation= RedVector3D[thetas[i], thetas[i]/2+1, thet ...

  5. PV_MagNoise Doc

    ... 2| var in, chain; in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chain = FFT(LocalBuf(2048), in); chain = PV_MagNoise(chain); Out.ar(out, 0.2 * IFFT(chain).dup); }).play(s, [\soundBufnum, b]); ) b.free; ⧉ ✔ helpfile ...

  6. Insp Doc

    ... why and when you inspected the object. Especially useful if calling during fast loops. guiInstead boolean: rather than create an ObjectInsp, just .gui the object Inherited class methods Instance Methods Inherited instance methods helpfile s ...

  7. Pshuf Doc

    ... d; ) ( a = Pn(Pshuf(#[60, 60, 60, 61, 63, 65, 72], 4), inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, a.next.midicps]); 0.15.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pshuf.sc ...

  8. GMGuide_Sequencer Doc

    ... of GMListPianoRoll , GMDuoSequencer and GMFaderMultiSlider is used to control a looping pattern. Those classes all manipulates an array of datas, in which every index corresponds to a particular beat. Similarly, they all implement an highli ...

  9. 131-obstacle_rocks Doc

    ... .dup(n); {RedRock(world, RedVector2D[width.rand, height].rand)}.dup(rocks); //--loop w.draw{ Pen.width= 1; world.objects.do{|o, i| //iterate all objects in this world o.addForce(o.world.gravity); //add gravity world.objects.copyToEnd(i+1).d ...

  10. 200-discrete_world_ca Doc

    ... _(0.25.coin.binaryValue); //world,loc,vel,acc,mass,size }.dup(n); }.dup(n); //--loop w.draw{ var counts= world.objects.collect{|o| world.neighbours(o).sum{|oo| oo.state} }; world.objects.do{|o, i| if(o.state==1, { Pen.addRect(Rect(o.loc[0]* ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow