Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (130) Code (3) Doc (37) Help (20) Quark (67) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. Collection Quark

    ... zedIndexArray.last..]); ^choppedArray.removeNil; } ) } //make a flatted array a FloatArray flatAsFloatArray { var output = FloatArray.newClear(this.size); if(this.maxDepth != 1){Error("This Array is not a flat array, makesure it's maxDepth ...

  2. 13-Buffers Doc

    ... cket size. To overcome this Buffer has two methods, 'loadCollection' and 'loadToFloatArray' which allow you to set or get large amounts of data by writing it to disk and then loading to client or server as appropriate. ( // make some white ...

  3. Convolution reverb and impulse responses by zecraum (zecraum) Code

    ... STING/TestSamples/_impulses/FactoryHallMono.wav"); s.sync; a.buffer.loadToFloatArray(action: { arg array; a.floatArray = array.reverse; }); s.sync; 2.wait; a.buffer.free; a.buffer = Buffer.loadCollection(s, a.floatArray); ...

  4. ArrayBuffer Doc

    ... 70's euro-space-rock echo CombN.ar(mix, 0.31, 0.31, 2, 1, mix) },[ ArrayBuffer(FloatArray[0, 2, 3, 5, 7, 9, 10]) ]).gui ) ⧉ ✔ Class Methods . new Arguments: array Inherited class methods Instance Methods . array Arguments: a . storeArgs . ...

  5. DataFFT Quark

    ... Signal.newClear(fftSize); bw= 2/fftSize*(board.currentSampleRate*0.5); result= FloatArray.newClear(fftSize2+1); } fft {|data| var complex; if(data.size<fftSize, { "%: data size must be >= fftSize. zeropadded % values".format(this.class.nam ...

  6. RedKCS Quark

    ... frameLen, {|i| i.div((sampleRate/oneFreq).div(2))%2}); } initSine { arrayClass= FloatArray; sampleRate= sampleRate?Server.default.sampleRate?44100; frameLen= sampleRate.div(baudRate); mul= 0.5; add= 0; zeroBits= arrayClass.fill(frameLen, {| ...

  7. UnixFILE Help

    ... eads the entire file as an Int32Array. readAllFloat Reads the entire file as an FloatArray. readAllDouble Reads the entire file as an DoubleArray.

  8. MCLDBufferUGens Plugin

    ... is an array of classes, each specified as [mean, covariance, weight]. *classesToFloatArray { |arr| var numclasses, numdims, classsize, cov; numclasses = arr.size; numdims = arr[0][0].size; // size of first mean-array classsize = numdims + ( ...

  9. DegreeToKey Doc

    ... ce // mouse x controls discrete pitch in dorian mode var scale, buffer; scale = FloatArray[0, 2, 3.2, 5, 7, 9, 10]; // dorian scale buffer = Buffer.alloc(s, scale.size, 1, { |b| b.setnMsg(0, scale) }); play({ var mix; mix = // lead tone Sin ...

  10. RedGrainController.help Quark

    ... rapAt(i/50%5)\); //pattern \ g.grainBuf_(\ |buf, o, i| [~b1, ~b2, ~b3].wchoose( FloatArray [0.1, 1.0, 0.0].interpolate([0.0, 0.0, 1.0], o).normalizeSum)\); //interpolate -buffer depend on position \ g.grainBuf_(\ |buf, o, i| [~b1, ~b2, ~b3] ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow