-
... umdims" entries *initBufGrid { |buf, netsize, numdims, spinmatrix, offsets = 0, scales = 1| buf.loadCollection(this.makeGrid(buf.numChannels, netsize, numdims, spinmatrix, offsets, scales).flat); } *makeGrid { |numchans, netsize, numdims, s ...
-
... werN+1] = FFTSubbandPower.kr(chain, [cutfreq1, cutfreq2, ... cutfreqN], square, scalemode) Calculates the spectral power measure, in the same manner as FFTPower , but divides the spectrum into (adjacent, non-overlapping) subbands, so return ...
-
... nce. Uses the "Constant Q" transformation to analyse on a logarithmic frequency scale, which hopefully avoids one problem with difference measures based directly on FFT bin differences, namely that its linear frequency scale can end up prio ...
-
... yRange is a primitive, select uses a loop .copyRange( 0, pointsource.dims ); // Scale signal by the encoding matrix and return the encoded B format signal // #w, x, y, z = (sig * encodeArray); // ^z.isNil.if({ Array.with(w,x,y,z) }, { Array ...
-
... (change: 0.1, numBits: 32)) * (2**32).reciprocal }.plot(1) // plain 32bit value scaled to 0..1 and out of the speaker {Demand.ar(Impulse.ar(10000), 0, DNoiseRing(change: MouseX.kr(0, 1), chance: 0.51, numBits: 32)) * (2**32).reciprocal}.pla ...
-
ScaleLP { var <>stepRatios; *new { ^super.new } // n Cent Equal-Temperament nCET { arg cent; stepRatios = [2.pow(cent/1200)]; ^stepRatios } // n Equal Division Octave nEDO { arg divs=12, octaveRatio=2, intervals; if(intervals.isNil, { inter ...
-
... , 0, 0.1); chain = FFT (b.bufnum, in); flux = FFTFlux .kr(chain, 0.9) * 100; // Scale by 100 for more humane numbers flux.poll(1, "Flux" ); Out .ar(0, in.dup); Out .kr(0, flux); }.scope; ) x.free; // Same again, but with filtered white nois ...
-
... bufnum=0, soundBufnum=2; var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT (bufnum, in); chain = PV_MagMulAdd (chain, MouseX .kr(0,2), MouseY .kr(0,1)); Out .ar(out, 0.3 * IFFT (chain)); }) ...
-
... is voice, num is number of bands // to be spaced over the threshhold, , hpf and scale add back some of mod Vocoder { *ar { arg car, mod, num, low=100, high=5000, q=0.02, hpf=5000, hpfscal=0.05, outscal=25; var width, cf, hf, out, filtmod, f ...
-
... ian filter odf = odf - MedianTriggered.kr(odf, chain>=0, medianspan); // Now re-scale odf = type.switch( \complex, { odf * 0.02 }, \rcomplex, { odf * 0.02 }, \phase, { odf * 0.01 }, \wphase, { odf * 0.01 }, \mkl, { odf * 0.015 }, // Power i ...