-
... Rect(0, 0, 100, 40)).background_(Color.white).visible_(false); rotateCounter = -pi; rotFunc = {//calculates coords for rotating cursor line rotateCounter = (rotateCounter + 0.4).wrap(-pi, pi); [([-25, 25] * rotateCounter.sin), ([-25, 25] * ...
-
... > {|freq, end, offset, selector = \ar| SinOsc.perform(selector, freq * 0.5, (1.5pi + (offset * pi))%2pi).range(0, end)}, ]; } *jitterEngine {|name, freq, selector| var engine; // UGen function defined externally // name.isKindOf(AbstractFun ...
-
... flop; reads= DelayC.ar(dry, windowDur, phasors*windowDur); windows= sin(phasors*pi); wet= [Mix((reads*windows)[0]), Mix((reads*windows)[1])]; ReplaceOut.ar(out, XFade2.ar(dry, wet, mix)); }, [0, lag, lag], metadata: ( specs: ( \out: \audiob ...
-
... ions = speakers.collect({|item,i| Spherical(item[0], item[1].linlin(-180, 180, -pi, pi), // item[2].linlin(-180, 180, -pi, pi) ).asCartesian.trunc(0.00000001) }); this.speakerPositions = speakers.collect({|item,i| Spherical(item[0], item[1] ...
-
... e(bounds.center.x @ (bounds.top + bounds.height - 1), bounds.height * 0.20, 0, -pi); GUI.pen.perform(\fill); // scale //Color.black.alpha_(0.2).set; GUI.pen.color = XiiColors.darkgreen; GUI.pen.addAnnularWedge(bounds.center.x @ (bounds.top ...
-
... e(bounds.center.x @ (bounds.top + bounds.height - 1), bounds.height * 0.20, 0, -pi); GUI.pen.perform(\fill); // scale Color.black.alpha_(0.2).set; GUI.pen.addAnnularWedge(bounds.center.x @ (bounds.top + bounds.height - 1), bounds.height * 0 ...
-
... ({ // tmp = 1.0.rand; // tmp == 0.5; // }); // ^(this.parYAt(time) * tan(tmp * pi)) + this.parXAt(time); // } // cauchy // parX = spread, parA=1 => positive half only cauchyRandAt {|time| var u; u = 1.0.rand; (this.parA == 1).if{ u = u * 0 ...
-
... es(nil).postln; //DPR.dpr("curRoundIndex", curRoundIndex); //fitnessClumps.asCompileString.postln; if(curRoundIndex == 0, { //"curRound finished".postln; thrCondition.test = true; thrCondition.signal; if(fitnessClumps.flat.includes(nil).not ...
-
... ); periods = f.get( \periods ); amp = f.get( \amp ); phase = f.get( \phase ) * pi; polar = (end - start).asPolar; path.positions = n.collect({ |i| var sin; sin = (i.linlin(0,n-1,0,2pi * periods) + phase).sin * amp; ( i.linlin(0,n-1,0,polar ...
-
... report; floatWithin = AtkTests.floatWithin; } initPlanewaves { |dirsArray, yaw, pitch, roll| var initialDirs, rotatedDirs; // Use Spherical class to initialize the directions. initialDirs = dirsArray.collect({ |azel| Spherical(1, *azel) }); ...