Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (488) Code (31) Doc (196) Help (67) Quark (169) Plugin (25) SCDoc ↗ Forum ↗ Google ↗
  1. GUI: Time-domain continuous vs sampled signals, and FFT representation by 0-cM (jamshark70) Code

    ... able. If you read the code, you can pick up a lot of tricks for manipulating FFT data on the client side. For instance, I'm doing the 16x oversampling by expanding a 32-point FFT out to 512 points (inserting zeros in the middle, so that ...

  2. Paulstretch for SuperCollider by jpdrecourt (jpdrecourt) Code

    ... (modulatable) // window: the suggested grain size, will be resized to closest fft window size // amp: amplification var trigPeriod, sig, chain, trig, pos, fftSize; // Calculating fft buffer size according to suggested window size ...

  3. Spectrum and Spectrogram of a sound file by jcc (jcc) Code

    ... // jcc // // Select all code and evaluate ( s.waitForBoot({ // vars for fft var sfBuf, soundFile, sfPath, sfview, spectrum, win, selectionSpec, openButton, sfselDisp, zoButton,ziButton,srButton,slButton,cursorFrame, sfDispArray, s ...

  4. Mono2eN - SynthDef by callum-goddard (Callum Goddard) Code

    ... , median: 7); freq = freq * hasFreq* 0.01; freq.poll; chainSpec = FFT(LocalBuf(2048, 1), in); centroid = SpecCentroid.kr(chainSpec); centroid = ((centroid * 0.0005)-0.3)*10; // new possition determined by centroid ...

  5. Spectral Cross-Synthesis by zecraum (zecraum) Code

    ... th - width should be an integer - I think 4 is the theoretical optimum var fftsize = 512, width=4; var in, chain, in2, chain2, out; // timbre source - vocal sample in = PlayBuf.ar(1, c, BufRateScale.kr(c), loop: 1); ...

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

    template code for sending lots of data (1024 fft values 61 times per second) from sc to processing. sound function from an old sc-tweet. updated to work with sc3.9 and processing 3.3.6 /* //--processing code: import oscP5.*; import net ...

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

    ... netP5.*; OscP5 oscP5; final int BUFFERSIZE= 2048; //should correspond with fft size in supercollider final int BUFFERSIZE2= BUFFERSIZE/2; float[] fftArrayHi; float[] fftArrayMd; float[] fftArrayLo; void setup() { size(1280 ...

  8. Stutter live looping buffer by blueprint (blueprint) Code

    ... :) ( { var snd, reset; snd = AudioIn.ar([1,2]); reset = Onsets.kr(FFT(LocalBuf(512), snd), 0.7); snd = ~stutter.(snd, reset, 0.09); snd = DelayC.ar(snd, 0.2, 0.2); snd!2 * 0.3; }.play; ) // Of c ...

  9. freeze playback by till-bovermann (LFSaw) Code

    ... re options to freeze playback of a sound file (a) by playhead movement (b) by FFT freeze q = q ? (); // load buffers // e.g. mono sound (see below) q.audioBuffer = Buffer.read(s, Platform.resourceDir +/+ "sounds/a11wlk01.wav"); ( ...

  10. mrcl snippets #3: feedback timer by elgiano (elgiano) Code

    ... \fbTimer){ m = (Dust.ar(0.5!2)*20).tanh+\in.ar(0!2); r = Timer.kr(Onsets.kr(FFT(LocalBuf(128)!2,m))); c = CombL.ar(m+(LocalIn.ar(2)*0.8),4,r.clip(0.0001,4),r*4); l = Resonz.ar(c,TRand.kr(20,20000,m),0.1,1000).tanh; LocalOut.ar(m+l ...

1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow