Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (747) Code (14) Doc (370) Help (95) Quark (257) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. expert sleepers ES-5 control code by olaf (olaf) Code

    ... ould the gate be shifted var on=if((0x800000&val)>0)//calculate the right float value {Float.from32Bits(val) / (Float.from32Bits(0x800000) * -1)} {Float.from32Bits(0xffffff&val) / Float.from32Bits(0x800000)}; if(gate ...

  2. digital lowercase from floating point errors by elirosenkim (eli.rosenkim) Code

    ... from each-other, which should be silent but isn't because of the imprecision of floating point arithmetic... The quiet signals are then boosted to be audible, kind of like digital lowercase music (//floating point errors { var pink; pink ...

  3. example fft sc->processing v2 by fredrik-olofsson (Fredrik Olofsson) Code

    ... espond with fft size in supercollider final int BUFFERSIZE2= BUFFERSIZE/2; float[] fftArrayHi; float[] fftArrayMd; float[] fftArrayLo; void setup() { size(1280, 768); frameRate(60); background(0); noSmooth(); fftA ...

  4. SuperCollider sending data to Processing by luigi-tamagnini (Luigi Tamagnini) Code

    ... irstValue = theOscMessage.get(0).intValue(); // get the second value as a float float secondValue = theOscMessage.get(1).floatValue(); // get the third value as a string String thirdValue = theOscMessage.get(2).stringVal ...

  5. example fft sc->processing by fredrik-olofsson (Fredrik Olofsson) Code

    ... espond with fft size in supercollider final int BUFFERSIZE2= BUFFERSIZE/2; float[] fftArray; void setup() { size(1280, 768); frameRate(60); background(0); noSmooth(); fftArray= new float[BUFFERSIZE2]; for (int i= ...

  6. fraction2basimal by elirosenkim (eli.rosenkim) Code

    ... 13/06/Basimal-Fractions-Part-A-only.pdf //it doesn't work perfectly due to floating point errors, I can't find an arbitrary precision float for SC ~fraction2basimal.(1/3, 10); //without rounding in the equals comparision, this returns ...

  7. Sound file chunks: Workaround for single-precision buffer indexing by jamshark70 (jamshark70) Code

    ... sound files with BufRd. BufRd indexes into the buffer using a single-precision float, which supports buffers only up to 2**24 frames (a bit more than six minutes at 44.1 kHz). This approach loads sequential chunks of a sound file into b ...

  8. Graphical Tracker Functions by simon (Dindoléon) Code

    ... n toggled, depending on the note's probabilty to played. Untoggled is black. - Float value referencing the minimal probabilty for the note to be played - Float value referencing the maximal probabilty for the note to be played - Integer ...

  9. controlling a synth with HID by beatboxchad (beatboxchad) Code

    ... hinkpad touchscreen, an element with usage type Finger indicates a touch with a float either 1.0 or 0.0. First touch element has ID 2, followed by 13, 24, 35, 46. The X and Y axis data ID's are similarly catchy. The X's have ID's 11, 22, ...

  10. Lamento by 56228375 (56228375) Code

    ... o deep space lamenting their brave but foolish undertaking. Eons later it still floats in empty space, sole witness of times long gone by. To install the quark, just unpack it in the directory that opens when you open scide -> "file menu" - ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow