Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. num1 by devi-skanadze (Devi Skanadze) Code

    ( ~particles = 5; ~rect = Array.fill(512, {arg i; rrand(-1.0, 1.0)}); ~sig = Signal.sineFill(512, ~rect); ~buff = Buffer.sendCollection(s,~sig); SynthDef(\fm, { arg freq = 60, l_shift = 0, lfo_rate = 0.5,fm_ratio = 3, fm_amount, dur ...

  2. simple peak detection algorithm by lfsaw (LFSaw) Code

    ... }; // Compute the mean m and standard deviation s of all positive values in array a; aAbs = a.abs; mean = aAbs.mean; sDev = aAbs.stdDev; // mean.postln; // sDev.postln; a.do{|val, i| // collect all indices that are conc ...

  3. The Collatz Scale by henklass (henklass) Code

    ... , starthighest=1, startlongest=1; var numberbeep, highestbeep, longestbeep; u=Array.new(12); //array to store the numbers, wrapped to 0..11 {for(0, 12, {u.add(0)})}.value; numberbeep=Synth(\beep, [\freq, 200, \cutoff, 200, \pan, 0]); ...

  4. expert sleepers ES-5 control code by olaf (olaf) Code

    ... 0..2).collect{|dev| //generate gates for all 3 devices per channel (1/Array.geom(8,1,2)).collect{|item,chan| //generate gates for all channels ~es5_control.(chan,dev,LFPulse.ar(item,0)) //use a LFPulse to control ...

  5. Subtractive Synthesis GUI Demo 2 by bruno (Bruno Ruviaro) Code

    ... are created using this basic synth. */ s.waitForBoot({ var win, buttonArray, padsArray, patternArray, volumeSlider, menu, whichBus, masterOut = 0.1; padsArray = Array.newClear(16); patternArray = Array.newClear(16); /*~m ...

  6. analyze a sample with SCMIR and sort sample segments by similarity by 0-2U (grirgz) Code

    ... ws+0 and ends at 105*m.reducedrows+m.reducedcolumns // we take this slice of array, sort it and return the indexes (.order) // then scale column number to position in second \pos, Pseq(m.matrix[105*m.reducedrows+(0..m.reducedcolumn ...

  7. Piano phase by jpdrecourt (jpdrecourt) Code

    ... e beat of the number of bars var pAccel = {|nBars = 10, beats = 6| var bar = Array.fill(beats, 1); var nBarsAccel = nBars.div(2); var accelDur = 1 - (1 / nBarsAccel / beats); var patternBars = Array.fill(nBarsAccel, Pseq(bar*accelD ...

  8. sine(LFPar) minor random bliss in two by luka (Luka P.) Code

    ... ( SynthDef("param", { arg freq = #[300,310], sustain; // # - freq has literal array of defaults! var sig; sig = LFPar.ar(freq: freq, mul: EnvGen.kr(Env.perc(0, sustain, 0.5), doneAction:2)); sig = Splay.ar(sig); Out.ar ...

  9. Formant filter using the Vowel Quark by julianrohrhuber (julian.rohrhuber) Code

    ... the Vowel quark: "Vowel".include; // tenor, for instance a = "aeiou".as(Array).collect { |x| Vowel(x.asSymbol, \tenor) }; // function for threshold ( f = { |vowel, thresh = 0.3| var freqs = (40..10000).collect { |x| x + 0.5.r ...

  10. Scanned Synthesis Visualisation by matthew-kane (Matthew Kane) Code

    ... i| ~springs[i] = item; } // ~springs.postln; }, '/springs'); ~springs=Array.fill(~numsprings, 0); ~sel = Array.fill(5, 0); // simulation window drawing if (~max == nil) { ~max = 0.001; "max".postln; }; window = Window.new(bo ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow