Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. Sound Simulator's "Ryoji Ikeda Pure Data Tutorial" ported to SC by gosub (gosub) Code

    ... ~xox = {|str| str.collectAs({|l| switch(l.toLower,$x, {1}, $o, {Rest(1)})}, Array)}; ) ( // sequencing ~tick32 = 0.08823; ~tick16 = ~tick32 * 2; ~p1 = "xxxxxxxxxxxxxxxx"; //click ~p2 = "xxxoxxooxxxooxxo"; //highshort ~p3 = ...

  2. Animation of Simple Harmonic Motion by elifieldsteel (eli.fieldsteel) Code

    ... radius when amplitude = 1 var amp_scale = 80; //spectrum is provided as an array containing one or more events //each event represents a sine wave with keys for 'freq', 'amp', and 'phs' //uncomment for examples /*sine (the default ...

  3. snake by elifieldsteel (eli.fieldsteel) Code

    ... 362]}, \windows, {[37,39,40,38]} ); //snake + board are represented as 2D array, //0 = empty space //positive integers = snake body, value represents //number of frames until snake segment disappears //e.g. 6-segment snake heading ...

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

    ... folder name to load the tracker module // The tracker will work modifying an array of note playing probabilities (i.e. 1 = 100% chance, 0.5 = 50% chance, etc). The size of the array will define the beat number. Here, we'll have three exa ...

  5. Vocal Clouds (work in progress) by emergent (emergent) Code

    ... same folder as the project file // make buffers ~makeBuffers = { ~buf = Array.new; PathName(~path).entries.do({ arg path; ~buf = ~buf.add(Buffer.read(s, path.fullPath)); }); }; // make buses ~makeBuses = { ~revBus = ...

  6. Reverse reverb by zecraum (zecraum) Code

    ... { var ir, irbuffer, bufsize; var nextmod=100; ir = [0] ++0.dup(100) ++ (Array.fill(lengthinsamples,{|i| if(i% (nextmod)==0,{nextmod= rrand(80,120); 0.3*((i.asFloat/ lengthinsamples).squared)},{0.0}) })); irbuffer = Buffer.loadC ...

  7. neural sirens by clarkenciel (clarkenciel) Code

    ... etwork.collect { arg layer, lIndex; var baseIndex = lIndex + 1; layer.asArray.collect { arg row, rIndex; var rowIndex = rIndex + 1; row.collect { arg value, vIndex; var valueIndex = vIndex + 1; var freqOffset = ( ...

  8. The Unfunky Drummer by schemawound (Schemawound) Code

    ... o use stereo samples ~rate = 2; //Rate of playback ~source = [ // Create an array of your samples. ~media.samples points at my base sample directory and is defined in my startup file. ~media.samples ++ "808/kicks/808 kick 6.wav", ...

  9. SELFSTEP by ether (Alexander Zhagun-Linnik) Code

    ... nt, \hgh, \dur, Prand([time/8], inf), \scale, scale, \degree, Prand(Array.fill(8, {arg i;i}), inf), \octave, Prand(Array.fill(6, {arg i;i}), inf), \res, Pfunc({(SystemClock.seconds*0.3).sin.abs}), ) ]).play; // ...a ...

  10. more fun with patternproxies, feat. a hack to access internals of the EventStreamPlayer by alln4tural (alln4tural) Code

    ... /getting-at-an-EventStreamPlayer-s-Pbind-tp7586138p7586148.html)) to get at the arrays inside the patternpairs of the patternproxy inside the 'receiver' inside the stream of the player. `z = i.stream.slotAt('receiver');` * The point ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow