Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1076) Code (138) Doc (359) Help (130) Quark (446) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. steelDrum Quark

    ... ; //Arrays for the bank of resonators, mostly harmonics near 5ths and 9ths, and random amplitudes: resFreqArray = [2, 2.98, 4.75, 6.21, 9, 9.15, 11.87]; resAmpArray = [0.35, 0.23, 0.10, 0.06, 0.07, 0.05, 0.01]; resDecArray = [0.86, 0.72, 0. ...

  2. How to tempo-sync LFOs in Patterns across multiple instances of a Synth by 0-4w (defaultxr) Code

    ... output will sound fairly consistent, even though the pattern's \dur is totally random. That is because the \tbeat and \tempo parameters are provided to the Synth via the pattern. It is possible to calculate what the starting phase of the o ...

  3. ArrayedCollection Help

    ... rets the array as a list of probabilities which should sum to 1.0 and returns a random index value based on those probabilities. ( Array .fill(10, { [0.1, 0.6, 0.3].windex; }).postln; ) normalizeSum Returns the Array resulting from : ( this ...

  4. Array2D Help

    ... Array(100,100, a.flat); // Accessing a[15][22] b[15, 22] // Speed comparison 1: random access bench { 100.do(a[100.rand][100.rand]) } bench { 100.do(b[100.rand, 100.rand]) } // Speed comparison 2: iteration bench { 100.do(a.do { |row| row.d ...

  5. ShannonMarkovSet Quark

    ... t) == obj).not, { ^false }) }); ^true } chooseIndex { var res, n; if(notify) { "random lookup due to lack of key".postln }; res = data.size.rand; n = data.size; (maxSearchLength ? n).do({ arg i; var index; index = (i + res) % n; if(data.at( ...

  6. Pattern Help

    ... n.dump; nil }) ]).play; }.value; ) //Pseed(seed, pattern) - set the seed of the random number generator // to force repetion of pseudo-random patterns Pn ( Pseed (44, Pbindf (q, \ctranspose , Pbrown (-3.0, 3.0, 10) ) ) ).play; //Proutine(fu ...

  7. heatMap Quark

    ... els, title, win, showVals, colscheme ) Examples Arrays: // First let's create a random undulating distribution and look at it a few different ways: a = (0..9).scramble.blendAt((0.1, 0.2 .. 9)); a.plot; a.heatMap(10); a.heatMap(10, Rect (0, ...

  8. XiiSnd Quark

    ... tchMode = false; //fixedPitch = pitch; //this.setAteFunc_(soundmode); //this.setRandomBuffer; // get a random sample (if the pool is loaded) } // supplyPredatorArray {|argpredatorArray| // from above level when all preds are initialized // ...

  9. aurora borealis by nicolaariutti (nicolaariutti) Code

    Random synths selected from VarSaw, Pulse and WhiteNoise create a texture resambling brasses, woods and flutes. It reminds me Micheal Land "The Dig" soundtrack (https://en.wikipedia.org/wiki/The_Dig). Listen to an extract of it here: ht ...

  10. RedSmooth Doc

    ... es a= RedSmooth(0.05); a.filter(1.0.rand); //run repeatedly - low pass filtered random data //plot example a= RedSmooth(0.1); ~squarewave= (0..1000).collect{|x| (x%200>100).binaryValue}; ~smoothed= ~squarewave.collect{|x| a.filter(x)}; [~sq ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow