Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... that does nothing runs really fast bench({ nil }); // filling a big array with random numbers takes a while longer. bench({ Array.rand(100000, 0.0, 1.0) }); // different operations may take different times bench({ 1000000.do { 3.sqrt.cos } ...

  2. FormantTable Doc

    ... et FormantTable. rand returns [[frequencies], [resonances], [amplitudes]] for a random voice type. Inherited class methods Instance Methods Inherited instance methods Examples (by Eric Skogen) // first boot the server s.boot; // Saw freq is ...

  3. Pstep Help

    ... ons, accent patterns, etc. ( // select a chord and duration and repeat it for a random time interval p = Pstep ( Pbind ( \ctranspose , [0, 4, 7], \note , Pwhite (0, 12), \dur , Prand ([0.2, 0.4, 0.8], inf ) ), Prand ([1, 2, 4], inf )/4 ); P ...

  4. Streams-Patterns-Events1 Doc

    ... in response to next and reset. Here is a FuncStream that represents an infinite random sequence: ( var a; a = FuncStream.new({ #[1, 2, 3, 4].choose }); 5.do({ a.next.postln; }); // print 5 values from the stream ) ⧉ ✔ Another useful subclas ...

  5. MultiChannel Help

    ... eo position CombL .ar( // a comb filter used as a string resonator Dust .ar( // random impulses as an excitation function // an array to cause expansion of Dust to n channels // 1 means one impulse per second on average Array .fill(n, 1), 0 ...

  6. Wavetable Synthesis Patterns by elifieldsteel (eli.fieldsteel) Code

    ... wavetables with increasing complexity ~wt_sig = 10.collect({ arg i; //random number of envelope segments var numSegs = i.linexp(0,9,4,40).round; Env( //env always begins and ends with zero //inner points are random ...

  7. MultiProc Doc

    ... set to nil if unneeded. The default behaviour with all nil is a phrasefunc that randomly selects any index up to procs.size. Inherited class methods Instance Methods . initMultiProc Arguments as for new. All other methods override the base ...

  8. PpolyPar Doc

    ... midinote, Pwhite(50, 100) ],[ \dur, 4/5, \in, b, // change delaytime per "bar", random add avoids repeating echo frequencies \dtime, Pshuf([1, 2, 4]/40, inf) + (Pwhite(-0.5, 0.5)/40), \decay, 3 ],[ \dur, 4/5, \in, c, // change modFreq per " ...

  9. TestKDTree Quark

    ... %, depth %".format(node.location, node.depth), false); }; // Now we create some random spatial points, and do a NN query. // If there is a "tie-break" in NN queries then the order of preference // is arbitrary, so we have to test not on wha ...

  10. TestKDTree Quark

    ... %, depth %".format(node.location, node.depth), false); }; // Now we create some random spatial points, and do a NN query. // If there is a "tie-break" in NN queries then the order of preference // is arbitrary, so we have to test not on wha ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow