-
... = 'white'| switch( type, \white, { range[0] rrand: range[1]; }, \linear, { 1.0.linrand.linlin(0,1,*range); }, \invlinear, { 1.0.linrand.linlin(0,1,range[1], range[0]) }, \bilinear, { 1.0.bilinrand.linlin(-1,1,*range); }, \mean, { 2.collect ...
-
... = 'white'| switch( type, \white, { range[0] rrand: range[1]; }, \linear, { 1.0.linrand.linlin(0,1,*range); }, \invlinear, { 1.0.linrand.linlin(0,1,range[1], range[0]) }, \bilinear, { 1.0.bilinrand.linlin(-1,1,*range); }, \mean, { 2.collect ...
-
... .dup(n); sprs= objs.collect{|x| objs.collect{|y| if(x!=y, { RedSpring(x, y, 0.2.linrand, 1.0.linrand, 200.rrand(300)); }); }.select{|x| x.notNil}; }.flat; syns= {Synth(\imp)}.dup(n); //--loop w.draw{ //--render Pen.smoothing= true; Pen.stro ...
-
... .dup(n); sprs= objs.collect{|x| objs.collect{|y| if(x!=y, { RedSpring(x, y, 0.2.linrand, 1.0.linrand, 200.rrand(300)); }); }.select{|x| x.notNil}; }.flat; syns= {Synth(\imp)}.dup(n); //--loop w.draw{ //--render Pen.smoothing= true; Pen.stro ...
-
... gle random float value in an exponential distributions from lo to hi. See also: LinRand , Rand ( SynthDef ( \help_ExpRand , { | out = 0, n = 0 | Out .ar(out, FSinOsc .ar( ExpRand (100.0, 8000.0, n), 0, Line .kr(0.2, 0, 0.01, doneAction:2)) ...
-
... in, \Cos, \Tan, \ArcSin, \ArcCos, \ArcTan, \SinH, \CosH, \TanH, \Rand, \Rand2, \LinRand, \BiLinRand, \Sum3Rand, \Distort, \SoftClip, \Coin, \DigitValue, \Silence, \Thru, \RectWindow, \HanWindow, \WelchWindow, \TriWindow, \Ramp, \SCurve].at( ...
-
... {|img| Pen.fillColor= Color.yellow(0.3, 0.15); 100.do{|i| Pen.fillOval(Rect(400.linrand, 400.linrand, 50, 50)); }; }); win.view.setBackgroundImage(backgroundImage, 10, 0.2); if(SGUI.currentTheme!=\dark, { win.view.children.select{|v| v.isKi ...
-
... yNN; // The following should have a lower entropy than the above: KDTree ({[1.0.linrand, 1.0.linrand]}.dup(1000)).entropyNN; // Even lower entropy: KDTree ({[1.0.linrand.squared, 1.0.linrand.squared]}.dup(1000)).entropyNN; // For a 1D unifo ...
-
... yNN; // The following should have a lower entropy than the above: KDTree ({[1.0.linrand, 1.0.linrand]}.dup(1000)).entropyNN; // Even lower entropy: KDTree ({[1.0.linrand.squared, 1.0.linrand.squared]}.dup(1000)).entropyNN; // For a 1D unifo ...
-
... "Tan", "ArcSin", "ArcCos", "ArcTan", "SinH", "CosH", "TanH", "Rand_", "Rand2", "LinRand_", "BiLinRand", "Sum3Rand", "Distort", "SoftClip", "Coin", "DigitValue", "Silence", "Thru", "RectWindow", "HanWindow", "WelchWindow", "TriWindow", "Ramp ...