-
... ed 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 ...
-
... rift, [0, 0.1]); Tdef(\flatcatSim).set(\drift, 0.03); Tdef(\flatcatSim, { |env| loop { 0.05.wait; NTMI.flatcat.sendDrift(env.drift); } }); /* Tdef(\flatcatSim).play; Tdef(\flatcatSim).stop; */ // NTMI.flatcat.onData: the actions to do when ...
-
... ).envir.put(*[k, ez.value].postcs); }, v); }; Tdef ( \text , { |ev| var mydur; loop { mydur = ev.dur; (note: ev.note, dur: mydur).postln.play; mydur.wait; } }).play; ) // type these or similar functions into dur and note fields and evaluat ...
-
... ue_(0.5); k.value; ⧉ ✔ Classic knobs rotating demo for BCF: ( var x = 0; fork { loop { 0.1.wait; x = x + 0.1; 8.do { |i| var el = m.elementAt(\kn, 1, i); var val = (x + (i/7)).mod(1.0); el.value_( val ) } } } ) // Various tests to show how ...
-
... [i], \type, Pseq([\off]), \dur, offset, \id, g) } ) }) } } ////////////////// PSloop : Pattern { var <>psPat, <>lookBack, <>doSkip, <>loopFunc, <>loopFuncPerItem, <>loopFuncAsGoFunc, <>goFunc, <>indices; *new { |srcPat, length = inf, bufSiz ...
-
... msg[2]; // GLOBOL DOES TRY NOT TO PERMIT SYSTEM CALLS // AVOID INFINITE NETWORK LOOP if(inID != id and: { isPermitted(this, code) }) { interpret(process(this, code)); } }).add; } *disconnect { responder.remove; responder = nil; "* INTERPRET ...
-
... patches (th.size == 0 or: { th.isString }).if({ th = [th] }); // create nodes: loop thru things nodes = Array.new(voices); // must add the nodes incrementally lcm = th.size.lcm(args.size); voices.do({ |i| var node = this.makeNode(th.wrapAt ...
-
... this.normalize; // recursion to cover possible next occurrence ^this; // break looping over children, return }); }); }); }); } // end normalize // --- getText() : String ------------------------------------------------- // getText { var n; ...
-
... wrapped 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 ...
-
... tPos=0, endPos= 1000; var updateRate=40, playbuf, ampl, ampr, signal; playbuf = LoopBuf.ar(2, bufnum, pitch, trig, startPos, startPos, endPos) * vol; signal = Balance2.ar(playbuf[0], playbuf[1], pan); ampl = Amplitude.kr(signal.at(0)); ampr ...