-
... , chainB, chain; inA = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); inB = SinOsc.ar(SinOsc.kr(SinOsc.kr(0.08, 0, 6, 6.2).squared, 0, 100, 800)); chainA = FFT(LocalBuf(2048), inA); chainB = FFT(LocalBuf(2048), inB); cha ...
-
... 80), fx: ( def: \tanh, dist: Pseq([1, 2, 4, 6],inf) ) )).play(chans: 2); fork { loop { s.avgCPU.postln; 1.wait; } }; }, algaServerOptions: AlgaServerOptions(blockSize:256, supernova: true) //algaServerOptions: AlgaServerOptions(blockSize:25 ...
-
... ect(world, loc, nil, nil, 1.5, 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}); //world.objects.do{|o, i| o.loc= R ...
-
... ect(world, loc, nil, nil, 1.5, 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}); //world.objects.do{|o, i| o.loc= R ...
-
... 2| var in, chain; in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chain = FFT(LocalBuf(2048), in); chain = PV_MagAbove(chain, MouseX.kr(0, 310)); Out.ar(out, 0.1 * IFFT(chain).dup); }).play(s, [\soundBufnum, b]); ) ⧉ ...
-
... { var kkey, val, spec, fromSpec, ii = 0; spec = unit.spec ?? { [0,1].asSpec; }; loop { kkey = key.next.asSymbol; if( kkey.notNil ) { val = currentEnvironment[ kkey ] ? (spec.default); fromSpec = currentEnvironment[ \u_specs ] !? _[ kkey ] ? ...
-
... llRoutine.stop; 0.1.wait; pollRoutine.reset; } }); }); pollRoutine = Routine ({ loop { prOutBus.get({|val| { modControl.modulateWithValue(postOpFunc.value(val)); }.defer; }); 0.04.wait; } }); fork { SynthDef("hrSimpleMod"++uniqueID, { arg i ...
-
... 4); c = Pswitch([a, b, 75], Pseq([2, 2, 0, 1], inf)); x = c.asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, x.next.midicps]); 0.18.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pswitch. ...
-
... instrument, perkysine]] blk ply 1 play marilyn1 [rate, 1.2, amp, 0.8] blk ply 1 loop marilyn1 [rate, 0.8, amp, 0.8] //shortcuts pl 1 marilyn1 //play lp 1 marilyn1 //loop pl 1 marilyn1 [1, 0.9] //play w/ extraArgs lp 1 marilyn1 [1, 1.1] //lo ...
-
... ing(obj, trg, 0.2, 0.97, 120); spr2 = RedSpring(obj2, trg, 0.7, 0.92, 100); //--loop w.draw{ if(mp!=w.mouse, { //just to keep target in middle if no mouse input trg.loc= w.mouse; }); spr1.update2; //here interconnect first white dot with re ...