-
... s,[ \out , 0, \bufnum , b]); ) ( Routine ({ var n = 32; 50.do({ b.sine1( Array .rand(n,0,1).cubed, true , true , true ); 0.25.wait; }); }).play; ) b.free;
-
... 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. ...
-
... mostly bi-directional, use <> buttons for rate & filter) //dev = the amount of random deviation from centre using the distribution from the pop-up next to it //PAPA = parent stream //step = the step value used if a brownian distributio ...
-
... ns playing in parallel, sharing data between eachother */ ( // a melody playing random scale degrees a = Pbind( \dur, 0.125, \octave, 4, \degree, Plet(\melody, pattern: Pwhite(0, 7)) ); // the bass, scale degrees sampled from the \melody va ...
-
... { loop { x.advance(0.1); 0.1.wait } }.play; ) ( Task { 5.do { x.advance(1); 2.0.rand.wait; } }.play; ) x.advance(8.1); Pbind ( \degree , Pseries (0, 2, 8), \dur , 0.25).play(x); ( Task { 5.do { x.advance(0.20); 1.0.wait; } }.play; )
-
... 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 ...
-
... / Post window says: 3, i.e it returns itself f.value; // Still says 3 f = { 3.0.rand; }; // Here it's a Function. f.value; // 3.0.rand means return a random value from 0 to 3.0 exclusive. f.value; // something different f.value; // somethin ...
-
... 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 ...
-
... 25] ⧉ ✔ . clear set the buffer slot to zero. Discussion: This is important when randomly accessing buffer slots (e.g. with a BufRd) or not overwriting them. Clear is not an efficient real time operation for larger buffers, so it should be o ...