-
... ,audio,nil, // Array.fill(qnty,{arg i; (i * delay * thisSynth.tempo.reciprocal).wrap(0.05,1.9) }), // LFNoise1.kr(0.2,Amplitude.kr(audio,mul: - 1)), // buffer // ) // },[ // //arg audio,drive=0.4,ffreq=3000,rq=0.5,qnty=4,freqOffset=33,delay ...
-
... ept absdif: beatInBar > tolerance) { inval = Event.silent( (timept - beatInBar).wrap(tolerance, thisThread.clock.beatsPerBar + tolerance), inval ).yield; beatInBar = timept; }; while { oldEvent = event; event = stream.next(inval); event.not ...
-
... ar maxOff = (numActive - 8).max(0); // var pxOffset = (pxOffsets[scene] + step).wrap(0, maxOff); // pxOffsets[scene] = pxOffset; // // pxmixers[scene].highlightSlots(pxOffset, 8); // } // // paramShift { |step = 1, scene=1| // // var numAct ...
-
... AtAlgaPattern.size == 0, { algaPatternEntries.removeAt(algaPattern) }); }); } //Wrap result in AlgaReader at { | param, repeats = inf | var result; //Lock ID (needs to be out of Pfunc: locked on creation) var id = entries[param][\lastID]; i ...
-
... groovepos= groovepos.sort; //in case put them well out of order? } //problem if wraparound 1.5 beats after 0.5 from end say - rewrite as as many wraps of these //as needed, with appropriate time delays? recursively call this //return list o ...
-
... subdiv).round(1.0).asInteger; ///////////////////////////////// //this forces a wraparound and makes the code below safe for looping //(assuming cutsize <= phraselength and phraselength= sourcelength) array=array++array; //convert array to ...
-
... arrayDim=dim.asArray; ^ssObj.loc.any{ |l,i| l.abs > (arrayDim[i]/2) }.not } // wrap: toroidal world /* contain {|ssObj| var arrayDim=dim.asArray; if(ssObj.loc.any{ |l,i| l.abs > (arrayDim[i]/2) }) { ssObj.loc= ssObj.loc%dim; }; }*/ contain ...
-
... rk... ) ( // and step through recorded loop indices, left is down, right is up ~wrapStepListIndex = { |inc = 1| var next = (~loop.currIndex + inc) .wrap(0, ~loop.lists.lastIndex).postln; ~loop.setList(next); }; ~mktl.elAt(\tr, \mleft).actio ...
-
MServer { // wslib 2007 // class for wrapping regular workflow to multiple Servers // ---- attempt at getting the most out of dual and quad processors: // -- OSX seems to do a pretty lousy job dividing threads among processors. // -- If you ...
-
... self, x| This().add(x) }); a.anotherAdd(1956); // MethodEnvir can be pushed. It wraps objects in ExtendableObjects ( d = ( '+': { |self, a| self.object + a + 0.1.rand2 }, '-': { |self, a| self.object - a + 0.1.rand2 }, '*': { |self, a| self ...