Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. PG_060_Filter_Patterns Doc

    ... parate groups for the sub patterns, but the class is currently broken. Pspawner(routineFunc) The function is used to make a routine. A Spawner object gets passed into this routine, and this object is used to add or remove streams to/from th ...

  2. cloth Doc

    ... osition.y)); }; //? Pen.stroke; }; }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(App ...

  3. CutStream3 Doc

    ... poClock(2.1)); clock.play; e=AnalyseEventsDatabase.new; e.analyse(clock:clock); Routine.run({ b=BBCutBuffer(Platform.resourceDir +/+ "sounds/break.aiff",8); s.sync; //this forces a wait for the Buffer to be allocated //3 beats into the past ...

  4. Pdup Doc

    ... ence of pitches ( c = Pdup(3, Pxrand([1, 2, 3], inf) * 4 + 65); x = c.asStream; Routine { loop { Synth(\help_sinegrain, [\freq, x.next.midicps]); 0.12.wait; } }.play; ) // Voss algorithm for pink noise // note that pattern.dupEach(n) is a s ...

  5. RecursiveCutProc1 Doc

    ... le user defined functions plus quick delay hack var sf, group; group=Group.new; Routine.run({ //f=BBCutBuffer("sounds/a11wlk01.wav",4); s.sync; BBCut2(CutGroup(CutBuf2(f, pbsfunc:{rrand(0.98,1.02)}),Group.before(group)), RecursiveCutProc1.n ...

  6. ATK-SynthDef-Examples Doc

    ... us 'a' at the \tail b = Synth(\foaDecode, [\inBus, a], 1, \addToTail); // use a Routine to start many encoded signals at random angles Routine.run({ 20.do({ Synth(\foaEncode3, [\outBus, a, \theta, pi.rand2, \phi, 0]); 0.1.wait; }) }); b.fre ...

  7. EntityManager Doc

    ... the class is working. The update method is expected to be called inside a loop/routine with a wait time of the current dt. An example of usage can be found in the GameLoop class. . newIndex Swap the index for a new one. . clearEntities Cle ...

  8. RedSmoothUD Doc

    ... true; CmdPeriod.doOnce({win.close}); win.front; fifo= List.fill(100, flt.val); Routine({ inf.do{|i| fifo.pop; fifo.addFirst(flt.filter(slider.value)); plot.value= fifo; (1/50).wait; }; }).play(AppClock); ) ⧉ ✔ helpfile source: /tmp/scquark ...

  9. Pstutter Doc

    ... of pitches ( c = Pstutter(3, Pxrand([1, 2, 3], inf) * 4 + 65); x = c.asStream; Routine { loop { Synth(\help_sinegrain, [\freq, x.next.midicps]); 0.12.wait; } }.play; ) // Voss algorithm for pink noise // note that pattern.stutter(n) is a s ...

  10. BBCPPermute Doc

    ... ; ) ( //granular mess var sf, pitch, when, now, duty; var bbcs, bbcp, bbcutter; Routine.run({ SynthDef(\fx, {ReplaceOut.ar(0,Limiter.ar(0.1*CombN.ar(In.ar(0, 2),0.3,SinOsc.kr(0.05, 0, 0.125, 0.15), SinOsc.kr(0.023, 0, 0.5, 0.6)))) }).send(s ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow