-
... fnumIr, sample.bufRateScaleIr * pchRatio, startPos: start * sample.bufFramesIr, loop: 0 ),Rand(0,1),0.3) * EnvGen.kr( Env.perc(0.01,1.0,1,3), timeScale: dur, doneAction: 2) },[ Sample("sounds/a11wlk01.wav"), IrNumberEditor(1,[-4,4]), IrNumb ...
-
... stay away from each other. That tends to make things interesting. r = Routine({ loop { b.moveFlock({|thisFlock| var boids, thisBoid, panVals; // moveFlock takes a function which is passed the instance of Boids2D // you can access the BoidUn ...
-
... c,vel,acc,mass,size }.dup(n); kmeans= RedKMeans(~k, 10); //cluster analyser //--loop w.draw{ var colors= {|i| Color.hsv(i/~k, 1, 1)}.dup(~k); kmeans.k= ~k; kmeans.update(world.objects.collect{|o| o.loc}); world.objects.do{|o, i| var index= ...
-
... 2| var in, chain; in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chain = FFT(bufnum, in); chain = PV_MagSmear(chain, MouseX.kr(0, 100)); Out.ar(out, 0.5 * IFFT(chain).dup); }).play(s, [\out, 0, \bufnum, b.bufnum, \s ...
-
... av"); ~test = { | amp = 0.2| PlayBuf.ar(1, b.bufnum, BufRateScale.kr(b.bufnum), loop: 1)*amp; }; // the sphere is projected onto your screen and you may move the mouse to // control the source location // middle of the screen = top, top/mid ...
-
... ar(freq, 0, env)) }).add; ) ( var a; a = Pexprand(0.0001, 1.0, inf).asStream; { loop { Synth(\help_sinegrain, [\freq, a.next * 600 + 300]); 0.02.wait; } }.fork; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pexpra ...
-
... = Routine { 199.yield; 189.yield; 200.idle(6); 199.yield; 189.yield; }; fork { loop { r.value.postln; 1.wait; } } ); // the value can also be a stream or a function ( r = Routine { 199.yield; 189.yield; Routine { 100.do { |i| i.yield } }.i ...
-
... , 150], 0, 0.2); inB = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chainA = FFT(LocalBuf(2048), inA); chainB = FFT(LocalBuf(2048), inB); chain = PV_MagDiv(chainA, chainB); Out.ar(out, 0.1 * IFFT(chain)); }).play(s, [\ ...
-
... ply allows setting. Examples ( 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, 0.1 ...
-
... may be Patterns, Streams or other Items to be embedded. repeats Number of list loops. Defaults to 1. offset List index offset. Defaults to 0. Inherited class methods Instance Methods Inherited instance methods Examples ( s = Server.local; ...