-
... ____ ( var broadcastIP = "192.168.178.255"; // <--- put it here! var id = 10000.rand; var ok = false; if(NetAddr.langPort != 57120) { Error("restart supercollider. langport != 57120").throw }; NetAddr.broadcastFlag = true; n = NetAddr(broad ...
-
... 1-mute)); }).memStore } ) ( { q.ampeln = q.blockChannels.collect{ |channel| 1.0.rand.wait; Synth ( \ampel , [ out: channel, klackBufnum: q.buffers.first, mechaBufnum: q.buffers.last, freq: rrand(0.995, 1.05)*0.5, mechaPitch: 1, //rrand(0.9, ...
-
... inkNoise,5e-3),10)*Line.kr(0,1,9);ar(GVerb,({|i|ar(Ringz,a*LFNoise1.kr(0.05+0.1.rand),55*i+60,0.2)}!99).sum,70,99).tanh}
-
... do { | i | var w, b; w = Window.new("snoop " ++ i.asString, Rect.new( 200 + 400.rand, 69 + 300.rand, 172, 90 )); w.front; b = Button.new( w, Rect.new( 23, 28, 127, 25 )); b.states = [["BLAM-O", Color.red]]; } ) Window.allWindows.dump; // du ...
-
... resolution preyArray = Array.fill(3, { XixiSampleCircle.new(Point.new(100+(400.rand), 100+(200.rand)), Rect(10, 5, 940, win.bounds.height-110), a) }); //preyArray.do({|prey| prey.supplyPredatorArray(predatorArray)}); preyArray.do({|prey| p ...
-
... ocated sizes ( a = Array.fill(100, { 0.0 }); // feedback coefficients b = Array.rand(100, -0.5, 0.5); // feedforward coefficients b[0] = 1; c = Buffer.sendCollection(s, a, 1); d = Buffer.sendCollection(s, b, 1); ) { LTI.ar(SoundIn.ar([0, 1] ...
-
... orted {|base= 110, num= 8, range= 3| var list, ratio; ratio= { var temp= {range.rand+1}.dup(2).sort; temp[0]/temp[1]; }; list= {ratio.value}.dup(num.max(1)-1).sort{|a, b| a>b}.pow(-1); ^[base]++list.collect{|x| base= base*x}; } }
-
... 0| x }); Fdef(\x).value(8); Fdef(\y).value(8); z = Fdef(\x) * Fdef(\y) + { 1.0.rand }; z.value; z.value(400); ⧉ ✔ // sound example ( s.boot; SynthDef("gpdef", { |out = 0, freq = 440, sustain = 0.05, amp = 0.1| var env; env = EnvGen.kr(Env. ...
-
... //default thumbWidth is 13 m.elasticMode_(1); m.value= Array .fill(n, { |v| 1.0.rand}); m.reference= Array .fill(n, { |v| 0.5}); m.action = { arg q;q.value.postln; }; m.isFilled_ ( true ); m.drawLines_( true ); m.drawRects_( false ); w.fron ...
-
+ SimpleNumber { xlistrand { |listToExclude = 0, maxRecursions = 1000| // may still return an item from listToExclude if maxRecursions is exceeded // better not set maxRecursons to inf as it may cause infinite loop var res; res = this.rand; ...