-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... ; ) ( //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 ...