Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... hs and any memory that unit generators themselves allocate. (default = 8192) -r random-number-generators The number of seedable random number generators. (default = 64) -w max-interconnect-buffers The maximum number of buffers that are allo ...

  2. Group Doc

    ... ion ReplaceOut.ar(out, zout); }).add; ) g = Group.new; ( l = Array.fill(3, { // random freq for each synth, added to g at the head Synth("help-Group-moto-rev", ["out", 0, "freq", rrand(10, 120)], g, \addToHead); }); ) // set all controls th ...

  3. BoidRoids Class by shouhei (xffff) Code

    ... 0); agents = Array.new(n); for(0,myagentcount-1,{ |i| // start with random position/velocity x = rrand(0.0,1.0); y = rrand(0.0,1.0); vx = (rrand(0.0,1.0)-0.5)*0.1; vy = (rrand(0.0,1.0)-0.5)*0.1; // create a n ...

  4. Control-Structures Help

    ... e examples: if ( [ false , true ].choose, // Boolean expression (chooses one at random) { "expression was true" .postln }, // true function { "expression was false" .postln } // false function ) ( var a = 1, z; z = if (a < 5, { 100 },{ 200 ...

  5. 2d_preset_func Quark

    ... do { |pre| var setIndex = 1, setName; if (pre.settings.size > 1) { if (NTMI.usesRandomInit) { setIndex = rrand(1, pre.settings.lastIndex); }; setName = pre.settings[setIndex].key; pre.setCurr(setName).setProxy(setName); }; }; // for the kno ...

  6. Voicer Doc

    ... d \preferEarly: the default setting; prefers nodes that were played longer ago \random: chooses a non-playing node at random \cycle: cycles through the nodes in sequence, skipping nodes that are playing \strictCycle: cycles through the node ...

  7. Livecode setup, with comments by 0-91 (tedthetrumpet) Code

    ... ,30,30], inf), \amp, 0.5).play(t, quant:4) // very useful syntax, create a new random rhythm every four bars Pbindef(\z, \buf, Pn(Plazy({Pseq({~bufs.choose}!16,4)})))

  8. PIdev Quark

    ... viation. Repetitions within a lookback span are avoided, DIdev / PIdef / PLIdev randomly choose from possible solutions. Intended for search within integer grids (pitches, indices etc.), however applications with non-integer sources are pos ...

  9. BBCPPermute Doc

    ... ong and weak {arg index; if((index==4) || (index==7), 3, 1)} )).play ) ( //more random happenings var mult; BBCut2(CutBuf2(f), BBCPPermute.new( {mult= [4.31, 1.29, {rrand(5.01, 10.09)}].choose.value; 8.0}, //this is called beginning of ever ...

  10. Voicer Quark

    ... / a symbol, method name for node locator // must be one of: cycle, strictCycle, random, preferEarly, preferLate cycleRout, strictCycRout, // see cycle and strictCycle <globalControls, // so all nodes can share a bus for a given control // a ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow