-
... 100 is for (estimated) equal peak amplitude },nil,\audio); Instr([\oscillOrc2,\randKlang ],{arg freq=500,qnty=10,amp; Klang.ar(`[ Array.rand(qnty.asInteger, 600.0, 1000.0), nil, nil ], freq/2000,0,qnty.reciprocal * amp) ; },nil,\audio); In ...
-
... umIns = 0; var numOuts = 2; var bounds = Rect((Window.screenBounds.width - 350).rand, rrand(50, Window.screenBounds.height), 350, 50); var name = "HrADC"; ^super.new(argParentApp, name, argIdent, argUniqueID, argExtraArgs, bounds, numIns, n ...
-
... est send messages: n = NetAddr.localAddr; n.sendMsg("/ntmi/caps", *8.collect { rrand(0.0, 0.5) }); n.sendMsg("/ntmi/imu", *(10.collect { 1.0.rand2 }) * [4,4,4, 0.5,0.5,0.5, 0.5,0.5,0.5, 100]); 4.do { n.sendMsg("/ntmi/btns", 8.rand, 2.rand) ...
-
... , layout); inp.gui(layout); }; layout.startRow; ActionButton(layout, "RND", { p.rand; graphIt.value(); }); ActionButton(layout, "Graph it", { graphIt.value(); }); ActionButton(layout, "INSERT TO MX", { var pattern, spec, warp=\lin, step=0.0 ...
-
... lutely, there are also many ways change them relatively, by little steps, or by random jumps. This makes it possible to play them with multiple interfaces sharing influence over all playing processes. /***** OVERVIEW *****/ The 4 slots for ...
-
... loc = Point( bounds.left + hwidth, bounds.top + hwidth); lowGraphicsMode = 0; } randLoc // .5 to avoid antialiasing { bounds = Rect(10.5+((canvasBounds.width-20).rand.round), 10.5+((canvasBounds.height-20).rand.round), bounds.width, bounds. ...
-
... cramble; gui.do{|x, i| var arr= 0.dup(nIn); if(i<nIn, {arr= arr.put(tmp[i], 1.0.rand)}); x.value= arr; }}, {gui.do{|x, i| x.value= {0.2.coin.binaryValue}.dup(nIn)}}, {gui.do{|x, i| x.value= {if(0.2.coin, {1.0.rand}, {0})}.dup(nIn)}}, {gui.d ...
-
... 0.9; name = "!!" ++ name + "overlaps previous!!"; name.warn; },{ color = Color.rand.alpha_(0.4) }); StaticText(w,cb).string_(name).background_(color) }; w.front; }; ~childrenExceedingParents = { arg view,list; /* returns a list of any chil ...
-
... =WhiteNoise.ar; (n - Duty.ar(SampleDur.ir, 0, n)) }, "Duty.ar(SampleDur.ir, 0, Drand([x],inf)) == x" -> {n=WhiteNoise.ar; (n - Duty.ar(SampleDur.ir, 0, Drand([n],inf))) }, ////////////////////////////////////////// // Panners (linear panner ...
-
... tl, i| 4.collect { |j| var left = (100 * j), top = (40 * i); var mv = MView(1.0.rand, w, Rect(left, top, 100, 30)); mv.dict.font.size_(20); mv.dict.backCol_(Color.white); mv.dict.valCol_(Color.black); mv.uv.background_(Color.white); mv.uv.m ...