-
... ! ( Ndef(\waves, { var sig, n=25, ffreq, rq, lfo, amp; ffreq = Array.fill(n, { exprand(100.0, 1500.0) }); rq = Array.fill(n, { rrand(0.8, 1.4) }); lfo = Array.fill(n, { LFNoise2.ar(0.2).range(0.5, 2.0) }); am ...
-
... nval. } allEvents { arg inval; // don't do this on infinite streams either. var array; inval = this.doInval({|item| array = array.add(item); }, inval); ^array } doInval { arg function, inval; var item, i=0; while { item = this.next(inval); ...
-
... //www.gnu.org/licenses/>. */ WFSCrossfader { // handles the crossfading between arrays, for point sources var <>arrayConfs; var <>point; var <focusWidth = 0.5pi; var <cornerPoints, <crossfadeData; *new { |point = (0@0), arrays, cornerArrays ...
-
... h, roll, yaw| case{order == 1} { var in1, // declare variables for the b-format array in2, in3, in4; #in1, // distribute the channels from the array in2, in3, in4 = in; ^HOARotator1.ar(in1, // return the Ugen with the b-format channels in2, ...
-
/* TestNoOps.run UnitTest.gui */ TestNoOps : UnitTest { test_array { var ops, check, n = 300; var a, b, r1, r2; check = { |func, inval| func.value(func.value(inval)) == inval }; a = Array.rand(300, 0, 100); b = a.clump(10); r1 = b.size.rand ...
-
... hose reversed case{order == 1} { var in1, // declare variables for the b-format array in2, in3, in4; #in1, // distribute the channels from the array in2, in3, in4 = in; ^HOABeamDirac2HOA1.ar(in1, // return the Ugen with the b-format channel ...
-
... to something else. Some of these operations look like things you would do to an array, but there is a critical difference. Doing math on an array performs the operation on every array item all at once. By contrast, patterns are "lazy" -- th ...
-
... ects can be grouped. It is similar to SVGFile, but works only inside an objects array. creation SVGGroup ( objects, name, transform ) creates a new object with the instance variables as described below and in the SVGObject helpfile instance ...
-
... ToSone ⧉ ✔ soneToPhon Convert sones to phons. http://en.wikipedia.org/wiki/Sone Array.geom(6,1,2).soneToPhon; ⧉ ✔ asPhon(spl, calib = 0) Return the value in phons for a frequency at a certain db SPL level. Calib should be 0 if loudness is i ...
-
... fsizes, nextmod, numSamples; nextmod = 100; numSamples = 40000 ; /* an array of multiple IRs */ irs = ~numIRs.collect{ arg nth; // nth is here not used, but can be useful to scale decay time. [0] ++ 0.dup(100) ++ Array.fill ...