-
... terior localization stuff after joe anderson // BFEncode.ar takes a polar (or a point), where rho of 1 is the speaker radius. BFEncode { classvar <methodReqs=#['Array.stripz']; // var <>w, <>x, <>y, <>z; // W = sig * -3.dbamp // X = sig * c ...
-
... am //// lance@uwalumni.com // //SCEnvelopeEdit : SCEnvelopeView { // var <env, <pointsPerSegment, viewPoints; // var <minLevel, <maxLevel, <minTime, <maxTime, totalDurRec, absTimes, numPoints; // // *viewClass { ^SCEnvelopeView } // // *new ...
-
... Integer // (Don't use the "pathInt" arg, it's used for recursion.) *classify { |point, treedata, pathInt=1| var node = treedata[pathInt - 1]; // note the minus one, it's because the indexing has to start at 1 not 0 var result = sumF((point ...
-
... buffer, playbuf, rate, offset, loop, binStart, binSkip, numBins, clear); } } // point is a value between 0.0 (beginning) and 1.0 (end) PV_BufRd : PV_ChainUGen { *new { arg buffer, playbuf, point = 1.0; ^this.multiNew('control', buffer, play ...
-
... } checkInputs { ^this.checkNInputs(2) } } BFEncode2 : BFPanner { *ar { arg in, point_x = 1, point_y = 1, elevation=0, gain=1, wComp = 0; ^this.multiNew('audio', in, point_x, point_y, elevation, gain, wComp ) } init { arg ... theInputs; inp ...
-
... { scales = scales.dup(numchans) }; // Apply the rotation array = array.collect{|point| spinmatrix.collect{|spincol, scindex| (point * spincol).sum * scales[scindex] + offsets[scindex] } }; ^array } *initBufGridRand { |buf, netsize, numdims, ...
-
... e ~errorvals.plot(maxval: nil , minval: nil ); // Now let's look at the mesh of points represented by the SOM. Do they fit the training data? // Here's a pure SC plot, the colouring of the points representing the third dimension - you shoul ...
-
... e ~errorvals.plot(maxval: nil , minval: nil ); // Now let's look at the mesh of points represented by the SOM. Do they fit the training data? o = OctaveSC .new; o.init; ( ~som.loadToFloatArray(action: { |arr| var x, y, w, z; x = arr[0,4..]; ...
-
... vec_angle(neg_v3, speakers[l])); /* if one of loudspeakers is close to crossing point, don't do anything*/ if((abs(dist_iv3) <= epsilon) || (abs(dist_jv3) <= epsilon) || (abs(dist_kv3) <= epsilon) || (abs(dist_lv3) <= epsilon) || (abs(dist_ ...
-
... audio', input, p).madd(mul, add); } } //adding buffer to pass in nonrandom data point and mean start positions KmeansToBPSet1 : UGen { *ar { arg freq=440, numdatapoints=20, maxnummeans=4, nummeans=4, tnewdata=1, tnewmeans=1, soft=1.0, bufnu ...