-
... : wrong number of channels (%)".format(this, numChannels)).throw }); channels = Array.fill(numChannels, { arg i; OutputProxy(rate, this, i); }); if (numChannels == 1, { ^channels.at(0) }); ^channels } numOutputs { ^channels.size } writeOutp ...
-
+ SequenceableCollection { // array[row][col] *newFromFile { arg path, columnSeparator=$ , rowSeparator=$\n; var obj, file, char, line; file = File.new(path, "r"); if( file.isOpen == false, { ^nil }); obj = this.new; char = file.getChar; wh ...
-
... owerInd] },{ ^this[upperInd] }); } // same as nearestTo, but input/output is an array nearestToList { arg values; var matches; var lowerInd, upperInd, centerInd; values.do({ arg value, i; lowerInd = 0; upperInd = this.size - 1; while({ (upp ...
-
... , noise, anabwscale = 0.5, outbw = 0.01, freqmul = 1, mul = 1, add = 0; var freqArray, bwArray, ana, amps, freqs, pch, haspch, sigout; freqArray = [50, 150, 250, 350, 450, 570, 700, 840, 1000, 1170, 1370, 1600, 1850, 2150, 2500, 2900, 3400, ...
-
FM7 : MultiOutUGen { *numOperators { ^6 } *numControls { ^3 } *controlArraySize { ^this.numControls * this.numOperators } *modArraySize { ^this.numOperators.squared } *numRequiredInputs { ^this.controlArraySize + this.modArraySize } *contro ...
-
... oint), where rho of 1 is the speaker radius. BFEncode { classvar <methodReqs=#['Array.stripz']; // var <>w, <>x, <>y, <>z; // W = sig * -3.dbamp // X = sig * cosA * cosB (front-back) // Y = sig * sinA * cosB (left-right) // Z = sig * sinB ( ...
-
... gnal.fftCosTable(fftsize); window = Signal.hanningWindow(fftsize); fftoffsets = Array.series(numffts, 0, fftsize/numffts); filterWindow = Signal.fill(fftsize, { arg n; (n >= (fftsize/2)).if(0,2) }); fft = FFT.a2sr(fftsize, fftoffsets, cosin ...
-
... a Buffer where the data will be written ( NOT the SOM buffer). - inputdata - An Array of the input signals to be stored. - netsize - The size of the neural net along one dimension. - numdims - The dimensionality of the neural net. Choose fr ...
-
... te power measures for the different subbands. The cutfreqs parameter must be an array of frequencies. For example, to divide a 44100Hz signal into three subbands we might specify [ 5512, 11025 ] as the cutfreqs, giving subbands of 0-5512Hz, ...
-
... ((8 * index/~dataspacechanwidth).sin) } //~data.heatMap(title: "training data (array)"); // You need the "heatMap" quark to run this line - visualises the data nicely ~dataspace.loadCollection(~data.flop.flatten); //~dataspace.heatMap(titl ...