Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... a routine that can pause under certin conditions: ( c = Condition .new; fork { loop { 1.wait; "going" .postln; c.wait } }; ) c.test = true ; c.signal; c.test = false ; // the same, using hang ( c = Condition .new; Routine { 1.wait; "waited ...

  2. grainProcess Quark

    ... Deg = 0; ~eleDeg = 0; ~bufnum; ~makeRoutine = { |self| self.routine = Routine { loop { self.satieInstance.makeKamikaze( synthDefName: \grainBufASR, group: self.group, synthArgs: [ \bufnum, self.bufnum, \rate, rrand(self.rateMin, self.rateMa ...

  3. XiiToshioAgent Quark

    ... ol; var server, poolName, tempo; var silentBuf, toshioNodeSampleIndexArray; var loopmode; *new {arg node, toshioArray, userview, silentBuf; ^super.new.initXiiToshioAgent(node, toshioArray, userview, silentBuf); } initXiiToshioAgent {arg ano ...

  4. 036-wave-phase Doc

    ... ject(world, loc, nil, nil, 10, 10); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ theta= theta+angularVel; if(0.005.coin, {world.gravity= RedVector2D[0, -0.7.rrand(0.7)]; world.gravity.postln}); nWaves.do{|i| var x= theta; world. ...

  5. PV_Div Help

    ... ab the FFT buffer and peek at the magnitudes ( w = Window .new.front; t = Task {loop{ 0.1.wait; b.loadToFloatArray(action: { |data| { w.view.children.do( _ .remove); w.refresh; data[2..].clump(2) .collect { |a| (a[0].squared + a[1].squared) ...

  6. 036-wave-phase Quark

    ... ject(world, loc, nil, nil, 10, 10); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ theta= theta+angularVel; if(0.005.coin, {world.gravity= RedVector2D[0, -0.7.rrand(0.7)]; world.gravity.postln}); nWaves.do{|i| var x= theta; world. ...

  7. softPut Help

    ... ld occur (soft takeover). ( e = (amp: 0.1, dur: 0.2); Tdef ( \test , { var dur; loop { dur = e.dur; (amp: e.amp, dur: dur, degree: 7.rand).play; dur.wait; }; }).play; ) e.put( \amp , 0.03); // just set it e.put( \amp , 0.1); e.softPut(\amp, ...

  8. 007-single-3d Doc

    ... ect(world, loc, vel, acc, 1.5, 10); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; world.objects.do{|o| o.addForce(o.world.gravity); o.update; world.contain(o); //Pen.addRect(Rect.aboutPoint(o.loc.asP ...

  9. softVol_ Doc

    ... safer EZSlider(w, 340@30, \knowLastV, \amp, Routine { |sl| var newVal, lastVal; loop { newVal = sl.value; Ndef(\test).softVol_(sl.value, 0.05, lastVal: lastVal); lastVal = newVal; \dummy.yield; } }); ) ⧉ ✔ helpfile source: /usr/local/share/ ...

  10. PV_CommonMag Doc

    ... 0, 0.2)), 1200); inB = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chainA = FFT(bufnumA, inA); chainB = FFT(bufnumB, inB); chain = PV_CommonMag(chainA, chainB, MouseX.kr(0, 50), MouseY.kr); Out.ar(out, IFFT(chain).dup ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow