-
... 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 ...
-
... [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; ...
-
... 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 ...
-
... Channels; tempRate = algaTemp.rate; tempControlNames = algaTemp.controlNames; //Loop around the controlNames to set relevant parameters tempControlNames.do({ | controlName | var paramName = controlName.name; var paramNumChannels = controlNa ...
-
... nth(\XiiEQMeter, [\inbus, inbus], addAction: \addToTail); eqUpdateTask = Task({ loop{ c.getn(size, {|vals| { win.isClosed.not.if({ multislider.value_((vals.log2 * 0.2).max(0).min(1)); }); }.defer; }); refreshTime.wait; // is this the right ...
-
... uenceableCollection { // collectIfNotNil // basically collect and select in one loop collectIfNotNil { |func| var result = this.species.new(this.size); this.do { |item, i| var mapped = func.value(item, i); if(mapped.notNil) { result.add(map ...