Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ttern UMap intended to use on the 'timeToNext' value of UPatterns. It can add a random factor to start times of events. The UMap will internally track the original time, so that it doesn't drift away. time: value or UMap to quantize amount: ...

  2. 050-boids Quark

    ... 0.05); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector2D[0.5, 0.5].rand2; var mass= 0.5.rrand(4); var obj= RedBoid(world, loc, vel, RedVector2D[0, 0], mass, mass*5) .maxForce_(1).wdistance_( ...

  3. p_time_humanize Quark

    ... ttern UMap intended to use on the 'timeToNext' value of UPatterns. It can add a random factor to start times of events. The UMap will internally track the original time, so that it doesn't drift away. time: value or UMap to quantize amount: ...

  4. Vowel Quark

    ... e([ \a , \e , \i ], [ \soprano , \bass , \tenor , \counterTenor , \alto ], ({10.rand}!5).normalizeSum); Formants .ar(50 + 300.rand, v) * 0.1 }.play ) *formLib formLib is a Library and holds the formants freqs, widths, and dBs. of formTable ...

  5. TestKDTree Quark

    ... iTest(2,60, 10.0); this.multiTest(3,60, 10.0); } multiTest { |dims=3, size=100, randLimit=10| var probe, probe2, match1, match2, dist1, dist2; array = {{randLimit.rand}.dup(dims)}.dup(size); //"rotationTest array:".postln; //array.do(_.post ...

  6. TestKDTree Quark

    ... iTest(2,60, 10.0); this.multiTest(3,60, 10.0); } multiTest { |dims=3, size=100, randLimit=10| var probe, probe2, match1, match2, dist1, dist2; array = {{randLimit.rand}.dup(dims)}.dup(size); //"rotationTest array:".postln; //array.do(_.post ...

  7. extStoredListDialogs Quark

    ... , (200@30)); var txt = EZText(nil, bounds, "store as:"); name = name ?? { Array.rand(8, 97, 122).collect(_.asAscii).join }; txt.textField.string = name; txt.textField.action = { |tf| var setname = tf.string.asSymbol.postcs; "% - adding sett ...

  8. osc_singleoutput_example Quark

    ... set a value: m.elementAt( \led ).value_( 0.6 ); m.elementAt( \led ).value_( 1.0.rand ); // rebuild when changing spec: m.rebuildFrom( ~desc ); // reopen gui afterwards: m.gui;

  9. sos_bell Quark

    ... 2, 0], [0, 0.3, 0.3, 0.3])); // A bit of FM adds 'warble' son = son * LFTri.ar({Rand(1.0, 1.8)}.dup(6), 1, 0.3, 0.7); // Mix down the partials in the main sound son = son.mean; strike = SinOsc.ar(LFNoise1.ar(freq * 36, 100, freq*8), 1, 0.1) ...

  10. 1i_pads2bits_nUFO Quark

    ... level after 3-4 frames. NTMI.bin.thresh = 0.3; NTMI.bin.bins = 0!8; /* NTMI.bin.randOrb(64.rand); */ // sneak binkey function into func that triggers when pads array is received: MFdef(\capsToInph).add(\binKey, { // var binMap = [ 128, 64, ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow