Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. moogBass Quark

    ... fx; osc = Mix(VarSaw.ar( freq: freq.lag(lagamount) * [1.0, 1.001, 2.0], iphase: Rand(0.0,1.0) ! 3, width: Rand(0.5,0.75) ! 3, mul: 0.5)); filterenv = EnvGen.ar( envelope: Env.asr(0.2, 1, 0.2), gate: gate); filter = MoogFF.ar( in: osc, freq: ...

  2. cymbals Quark

    ... set=300; var amps, freqs, freqsDetune, ringTimes; var lFreqs, rFreqs, rTimes; //random freqs = #[ 699.615, 1523.95, 4651.27, 639.54, 566.455, 1040.9, 554.62, 514.324, 4835.18, 2518.03, 830.627, 11601.9, 958.062, 949.916, 2454.64 ]; freqsDet ...

  3. RedGrain.help Quark

    ... buf_([~b1, ~b2, ~b3].wrapAt(i)); 0.1.wait\;\ \);\ \ //cycle through buffers and randomise playback rate \ (\ fork\\ 20.do\ |i| \ r.buf_([~b1, ~b2, ~b3].wrapAt(i));\ r.rate_(2.0.rand2);\ 0.1.wait;\ \\ \);\ \ //now for something completely di ...

  4. cinematix-wheel.desc Quark

    ... el.value.round(0.001)) }; c.elAt(0).deviceValueAction_(1023); 10.do { c.elAt(16.rand).deviceValueAction_(1024.rand); }; // the coding given in modality issues #177 seems to be : // 7 bits of value are crude wheel position value, // first 3 ...

  5. ProxyPreset Quark

    ... (1)); } // if index within settings range, take that preset, // else make a new randSet with index as seed setCurrIndex { |index, rand = 1.0| var found = settings[index]; if (found.notNil) { this.setCurr(found.key) ^found.key } { this.setRa ...

  6. GAWorkbench Quark

    ... 2009 GAWorkbench { //probabilities var <>mutationProb, <>coProb; //feats var <>randomChromosomeFunc, <>fitnessFunc, <>mutationFunc, <poolSize, chromosomeSize; //internal state var <>genePool, <fitnessScores; //pluggable crossover function ...

  7. 01_test Quark

    ... th .grain( \ , m[1..]) \);\ f.sendToAll( \ );\ f.sendToAll( \ , \ , 8000 + 4000.rand);\ \ // maybe change sendNamedMsg? \ fork \ f.addresses.scramble.do \ |x| x.postln.sendNamedMsg( \ , \ , 8000 + 4000.rand); 0.1.wait; \ \;\ \

  8. reverbs Quark

    ... tapsLevelMax = taps.reciprocal; tapsOut = Mix.fill(taps,{ var delays; delays = rrand(tapsMin,tapsMax); DelayN.ar(audio,delays,delays,tapsLevelMax.rand) }) + audio },{ tapsOut = audio; }); // 0 is permissable if(combs == 0,{ out = tapsOut; } ...

  9. imageExamples Quark

    ... Focus; // begins drawing \ Pen .use \\ 30.do \\ Pen .fillColor_( Color .new(1.0.rand,1.0.rand,1.0.rand,1.0.rand));\ Pen .fillOval( Rect (50.rand, 50.rand, 100.rand, 100.rand));\ \;\ // Drawing text require a specific command\ image.drawStri ...

  10. XixiPrey Quark

    ... | if(argstageRect == nil, { stageRect = argpoint; point = Point(stageRect.width.rand, stageRect.height.rand); },{ stageRect = argstageRect; point = argpoint; }); fillcolor = Color.yellow; strokecolor = Color.black; predatorArray = []; rot = ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow