-
... into a Pdiff). Sieve.union(Pseq([1, 10], inf), 5, 7, `30) Sieve.union({ loop { rrand(1,10).yield } }.r, 5, 7, `30) // compare with result from the pattern alone // a union with one argument just returns its resulting elements. // As pattern ...
-
... instance methods Examples ( a = ZArchive.write("archiveTest"); a.writeItem(1.0.rand); a.writeItem([1,2,3,4,5].choose); a.writeItem("hello"); a.writeItem( Event.make({ ~a = \a; ~b = \b; }) ); a.writeItem([1,2,3,4,5]); a.writeItem( Ref(4.0) ...
-
... tv = 19, timescale = 1, curve = 0, loopnode = 0| var env = EnvGen.kr( Env({ 1.0.rand2 }!11, { 1.0.rand }!10, curve, releaseNode: 9, loopNode: loopnode), timeScale: timescale); var pitch = (env * [1, 0.33, -1] * intv).midiratio * freq; Splay ...
-
... ods new newClear with fill fill2D fillND newFrom geom series iota interpolation rand rand2 linrand exprand fib regularPolygon zeroFill Inherited class methods Instance methods at put insert boundedInsert clipAt wrapAt foldAt clipPut wrapPut ...
-
... th'] = "some/path"; result['things'] = [1,2,3]; result['quantity'] = 4; result['random'] = 1024.rand; // the dictionary will be sent as JSON // and available in the browser as a JavaScript object reply.value( result ); }.fork } ); ⧉ ✔ Your ...
-
... ere denoted by "self"). a = (some_value: 7, fuzzy_plus: { |self, a, b| a + b * rrand(0.9, 1.1) }); a.some_value; // returns 7 a.some_value = 8; // sets it to 8 a.fuzzy_plus(7, 4); ⧉ ✔ Inherited class methods Instance Methods . know . know = ...
-
... e inner Pattern's repeat arg. // with each evaluation of Plazy's Function a new random sequence of length = 2 will be generated and repeated 3 times // maximum range of the whole sequence is controlled by the environmental variable ~a ( p = ...
-
... diratio ratiomidi ampdb dbamp octcps cpsoct kFreq freqK streams storeOn printOn random coin rand rand2 rrand linrand bilinrand sum3rand exprand gauss partition UGen Compatibility Methods lag lag2 lag3 lagud lag2ud lag3ud slew varlag misc is ...
-
... Note event.collect( z.note(0.0, 1.0, target: group).globenv_(envbus).freq_(440.rrand(880)) .dur_(1.0).amp_(0.01); ); // set the 'next' time event.next_(0.2.rrand(1.0)); }); ) a.play; // play it b = a.record; // play it AND record the perfor ...
-
... = File("~/test.dat".standardizePath, "wb"); f.inspect; 100.do({ f.putFloat(1.0.rand) }); f.inspect; f.close; g = File("~/test.dat".standardizePath, "rb"); 100.do({ g.getFloat.postln; }); g.inspect; g.close; ) ( // var f, g; f = File("~/tes ...