Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... itter.com/headcube {a=PinkNoise.ar(1!2);50.do{a=BBandStop.ar(a,LFNoise1.kr(0.05.rand).exprange(40,15000),exprand(0.1,2))};LPF.ar(a,1e5)}.play// #supercollider {a=LFTri.ar(1);20.do{a=BAllPass.ar(a,80,1);a=((a+0.02)*LFNoise0.kr(1/2)*8).tanh; ...

  2. ilisp Doc

    ... rences to Instr and are loaded from disk if needed. // define some instr Instr("random-list", { arg qty=100, min=0.0, max=1.0; Array.rand(qty, min, max) }); Instr("pseq", { arg list, repeats=128; Pseq(list, repeats) }); // create a randomly ...

  3. SensorSonificator Doc

    ... Bus.control(s,1); ( // generate some data Tdef( \updateBus, { loop{ b.set( 1.0.rand.postln; ); rrand(0.05,0.3).wait; } }).play; ); ~output = Bus.new('audio', 0 ); // create a sonificator for the first bus: x = SensorSonificator.new( b, ~ou ...

  4. Scheduler Doc

    ... loop { x.advance(0.1); 0.1.wait }; }.play; ) ( Task { 5.do { x.advance(1); 2.0.rand.wait; } }.play; ) x.advance(8.1); Pbind(\degree, Pseries(0, 2, 8), \dur, 0.25).play(x); ( Task { 5.do { x.advance(0.20); 1.0.wait; } }.play; ) ⧉ ✔ helpfile ...

  5. 0a_inphlux Quark

    ... : // NTMI.inph = NTMI.inph ? (); NTMI.inphlux = Influx(9+8, 20); NTMI.inph.seedRand = {|q, infl, seed=2011| var d = thisThread.randData; thisThread.randSeed_(seed); infl.rand; thisThread.randData_(d); }; // initialize here! NTMI.inph.seedR ...

  6. ExtendableObject-tests Quark

    ... 80 a.zeta(b) // 56 a.asCompileString.interpret == a // true a.totalFree = { 1.0.rand }; // exists, should throw a.addMethod('+', { pi }); // override a + 6 == pi // yes 6 + a == pi // also, yes. a.addMethod('+', { |self, y| self.object + y ...

  7. extStatistics Quark

    ... pseudo-normal distribution which we'lll analyse in the following a = {45.0.sum3rand + 65}.dup(1000); Various measures to characterise the distribution a.geoMean // Geometric mean a.harmMean // Harmonic mean a.variance a.stdDev // Standard ...

  8. Pbindef Doc

    ... ar(Env.perc(0.01, sustain), 1, doneAction: Done.freeSelf); 5.do { var d; d = exprand(0.01, 1); u = SinOsc.ar(d * 300, u, rrand(0.1, 1.2) * d, 1) }; Out.ar(out, Pan2.ar(SinOsc.ar(u + 1 * freq, 0, amp * env), pan)); }).add; ) Pbindef(\a, inst ...

  9. Smacof Quark

    ... }; r = r * 2; postf("r: %\n", r); m.size.do{|i| nDims.do{|k| v0[i][k] = r * 1.0.rand } }; postf("v0: %\n", v0); d = this.dist(v0, d0, nDims); s0 = this.stress0(d0, m); iter = 0; done = false; postf("d0: %\n\ns0: %\n\n", d0, s0); { done.not ...

  10. doubleBass Quark

    ... mul: vel / 2 + op3mul); // Fundamental Frequency op4 = SinOsc.ar( freq: freq + NRand(-1 * freqDev, freqDev, 3), phase: op3, mul: vel); // Delay Line with Multi-Channel Expansion snd = { DelayN.ar( in: op4, maxdelaytime: 0.06, delaytime: Ran ...

prev 131 132 133 134 135 136 137 138 139 140 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow