Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... o gravity has been applied. This will be fixed in future versions. f.addTarget([rand(200), rand(200)], rrand(1,3)); // add a target randomly f.targets[0].postln; // prints Dictionary[ (pos -> RealVector2D[ 91, 27 ]), (strength -> 2) ] ⧉ ✔ . ...

  2. ModernLife Quark

    ... userFunc = {}; currentGrid = Array.fill(numDivs, { Int8Array.fill(numDivs, { 2.rand; }); }); nextGrid = currentGrid.deepCopy; history = Array.fill(numDivs, { Array.fill(numDivs, { Array.fill(historySize, { 0.5; }) }); }); historySums = Arr ...

  3. Condition Doc

    ... uses a Condition implicitly: ( SynthDef(\help, { |out| var mod = LFNoise2.kr(ExpRand(0.5, 2)) * 0.5; var snd = mod * Blip.ar(Rand(200, 800) * (mod + 1)); Out.ar(out, snd); FreeSelf.kr(mod < 0); // free the synth when amplitude goes below 0. ...

  4. GUI: Scrolling list of multi-view items by 0-7r (jamshark70) Code

    ... t. The empty space closes up automatically! g = { |view| view.background_(Color.rand(0.5, 0.9)) }; w = Window("scroll layout", Rect(800, 200, 500, 400)).front; v = g.value(ScrollView(w, w.view.bounds.insetBy(2, 2))); v.canvas = View(); ...

  5. 6_MainFX Quark

    ... ProxyChainPreset(\say); NTMI.mfx.pxPres = (); /* NTMI.mfx.pxPres['3AdCVerb'].setRand(0.25); */ fork ({ 0.1.wait; NTMI.mfx.chain.add('00_in', 1); 0.1.wait; NTMI.mfx.chain.add('0_DBComp', 1); 0.1.wait; NTMI.mfx.chain.add('3AdCVerb', 0.05); 0. ...

  6. PG_03_What_Is_Pbind Help

    ... 40, amp=0.1, pan=0, gate=1; var z; z = LPF .ar( Mix .new( VarSaw .ar(freq + [0, Rand (-0.4,0.0), Rand (0.0,0.4)], 0, 0.3)), XLine .kr( Rand (4000,5000), Rand (2500,3200), 1) ) * Linen .kr(gate, 0.01, 0.7, 0.3, 2); OffsetOut .ar(out, Pan2 .a ...

  7. Pbindef Help

    ... = EnvGen .kr( Env .perc(0.01, sustain), 1, doneAction:2); 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)); }).store; ) s.boot; Pb ...

  8. Osc Help

    ... lay(s,[ \out , 0, \bufnum , b]); ) ( fork { var n = 32; 50.do { b.sine1( Array .rand(n,0,1).cubed, true , true , true ); 0.25.wait; }; }; )

  9. XiiMushrooms Quark

    ... }); }); } }, 1, { { Synth(\xiiSine, [ \outbus, outbus, \freq, freq, \phase, 1.0.rand, \amp, funcamp ]) } }, 2, { { Synth(\xiiBells, [ \outbus, outbus, \freq, freq, \amp, funcamp ]) } }, 3, { { Synth(\xiiSines, [ \outbus, outbus, \freq, freq ...

  10. ServerPluginAPI Doc

    ... ACQUIRE_BUS_CONTROL(index) RELEASE_BUS_CONTROL(index) ⧉ ✔ RGen RGen is a pseudorandom number generator API. Most ugen developers are not interested in seeding their own RGens and would prefer to draw from a global RGen instance supplied by ...

prev 121 122 123 124 125 126 127 128 129 130 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow