Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (35) Code (1) Doc (16) Help (11) Quark (6) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. image_from_sound Quark

    ... ; fArray = fArray.collect({|item| Color.gray((item + 1) * 0.5).asInteger; }).as(Int32Array); tempImage = SCImage.color(argWidth, argHeight, Color.red); tempImage.pixels = fArray; fArray = nil; ^tempImage; } }

  2. RawArray Doc

    ... ource: ArrayedCollection.sc Subclasses: DoubleArray , FloatArray , Int16Array , Int32Array , Int8Array , String , SymbolArray … see all Description RawArray is the abstract superclass of a group of array classes that hold raw data values. C ...

  3. DoubleArray Doc

    ... ypes in SuperCollider is: Int8Array - 8 bit integer Int16Array - 16 bit integer Int32Array - 32 bit integer FloatArray - 32 bit floating point DoubleArray - 64 bit floating point SymbolArray - symbols NOTE: The overflow/underflow behavior o ...

  4. FloatArray Doc

    ... ypes in SuperCollider is: Int8Array - 8 bit integer Int16Array - 16 bit integer Int32Array - 32 bit integer FloatArray - 32 bit floating point DoubleArray - 64 bit floating point SymbolArray - symbols NOTE: The overflow/underflow behavior o ...

  5. Spectrogram of a sound file by wondersluyter (wondersluyter) Code

    ... }; // curve factor for Y scaleing (0 = linear, 3 =~ mel scale) image.setPixels(Int32Array.fill(width * height, { |i| var index = scaleFunc.(height - (i / width) - 1).asInteger; var frame = i % width; var mag = ~fftMags[frame][inde ...

  6. Image Doc

    ... a RGBA integer // A simple example on how to manipulate pixels with Image ( b = Int32Array[ Image.colorToPixel(Color.new255(255, 0, 0, 255)), // red Image.colorToPixel(Color.new255(0, 255, 0, 255)), // green Image.colorToPixel(Color.new255( ...

  7. UnixFILE Help

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

  8. Spectrogram Quark

    ... ax(binfreqs.indexOf((lowfreqarg/2).nearestInList(binfreqs)), 0); fftDataArray = Int32Array.fill((tobin - frombin + 1), 0); running = false; this.sendSynthDef; this.createWindow(parent, boundsarg); } createWindow {arg parent, boundsarg; var ...

  9. Wavesets Quark

    ... 16Array, 'int16': Int16Array, 'mulaw': Int16Array, 'alaw': Int16Array, 'int24': Int32Array, 'int32': Int32Array, 'float': Signal ); } *at { |key| ^all[key] } analyse { | finishFunc | // var chunkSize = 400, pause = 0.01; // not used yet xin ...

  10. Thread Help

    ... e random number generation should give the same sequence thisThread .randData_( Int32Array [ -662787342, 1546785953, 1661466823 ]); 10.do{1.0.rand2.postln};

prev 1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow