Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. Neuromodules Plugin

    ... : 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 ...

  2. SeqCol-newFromFile Plugin

    + 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 ...

  3. tuningScale Plugin

    ... 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 ...

  4. Vocode Plugin

    ... , 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, ...

  5. FM7 Plugin

    FM7 : MultiOutUGen { *numOperators { ^6 } *numControls { ^3 } *controlArraySize { ^this.numControls * this.numOperators } *modArraySize { ^this.numOperators.squared } *numRequiredInputs { ^this.controlArraySize + this.modArraySize } *contro ...

  6. AmbisonicsSC2 Plugin

    ... 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 ( ...

  7. UHJ Plugin

    ... 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 ...

  8. SOMAreaWr Plugin

    ... 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 ...

  9. FFTSubbandPower Plugin

    ... 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, ...

  10. SOMTrain_3D_example Plugin

    ... ((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 ...

prev 1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow