-
... edOfSound = AtkHoa.speedOfSound; ~refRadius = AtkHoa.refRadius; ~theta = (pi/4).rand2; ~phi = (pi/4).rand2; ~radius = 1.0.rrand(2.0); // design coefficients ~hoaOrder = ~order.asHoaOrder; ~angularCoeffs = ~hoaOrder.sph(~theta, ~phi); ~radia ...
-
... n it and evaluate it. Ndef(\gistCadavre, {SplayAz.ar(2, SinOsc.ar({LFDNoise3.ar(Rand(0.1, 0.4)).exprange(20, 200)}!20, 0, 5).tanh, spread: 2, orientation: WhiteNoise.ar.lag(LFDNoise3.ar(pi.reciprocal).exprange(0.000001, 0.001))).tanh}).fade ...
-
... ; Window.closeAll; makefood = { //colorful snacks foodcolor = Color.rand(0.25,1.0); foodpos = nil; //make sure food isn't placed on snake body while( {foodpos == nil}, { tryfoodpos = rand(height) @ rand(width); ...
-
... IS wanderCircleRadius = 4; wanderCircleAngle = 4; destpoint = Point(point.x+(20.rand2), point.y+(20.rand2)); auto = false; boundaries = false; tailcolor = Color.new255(100+(50.rand),100+(80.rand),100+(50.rand)); wormArray = []; playThreshho ...
-
... s sound objects that free themselves when they become silent loop { var note = rrand(60, 63); var elev = Prand([-90, -60, 30, 0, 90]).asStream; // Kamikaze is a special case of synth generated by SATIE // it frees itself when its envelope f ...
-
... ound the array of inputs (see also: Array: -wrapAt ). ( { var array = { Saw.ar(rrand(1.0, 3.0)) * Saw.ar(rrand(100.0, 3000.0)) } ! 8; SelectXFocus.ar(MouseX.kr(-20, 20), array, 0.3, true) * 0.1 }.play ) ⧉ ✔ Inherited class methods Undocumen ...
-
... y; ( x.source = { loop { s.sendMsg("/s_new", "pdef_grainlet", -1, 0, 0, \freq, rrand(600, 640)); 0.1.wait; } } ) ( x.source = { var x; x = Pseries(300, 20, 100).loop.asStream; loop { s.sendMsg("/s_new", "pdef_grainlet", -1, 0, 0, \freq, x.n ...
-
... { var dt = 0.03; inf.do { 30.do { d.set(1); dt.wait; }; "crackly on ".postln; rrand(1, 10).do { d.set(2.rand.postln); dt.wait; }; 30.do { d.set(0); dt.wait; }; "crackly off ".postln; rrand(1, 10).do { d.set(2.rand.postln); dt.wait; }; }; } ...
-
... ollowEdges_(false); q.views[0].flow({ arg w; 78.do({ arg i; b = Button(w, Rect(rrand(20,300),rrand(20,300), 75, 24)); b.states = [["Start "++i, Color.black, Color.rand], ["Stop "++i, Color.white, Color.red]]; }); }); GUI.slider.new(q.views[ ...
-
... { RedInstrumentModule.all.do{|x| x.cvs.do{|cv| cv.value= cv.spec.default}; }; } randomize { RedInstrumentModule.all.do{|x| x.cvs.do{|cv| cv.input= 1.0.rand}; }; } } //this could be a global interface for instruments. randomizeAll, randomize ...