Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... .0, 1.0), a.pulse(7, 0.5pi, 3, 0.5, 0.1).postln , true , true , true ); y.free; random methods: rand(lo, hi) exprand(lo, hi) linrand(lo, hi) rand2(val) coin(prob)

  2. SymbolicNotations Help

    ... is with the Post class, to write output to the post window. Post << "Here is a random number: " << 20.rand << ".\n" ; Here is a random number: 13. stream <<* collection add each item of the collection to the stream Post << [0, 1, 2, 3] [ 0 ...

  3. Streams-Patterns-Events3 Help

    ... a.asStream; 6.do({ b.next.postln; }); ) Prand returns one item from the list at random for each repeat. ( var a, b; a = Prand .new(#[1, 2, 3, 4, 5], 6); // return 6 items b = a.asStream; 7.do({ b.next.postln; }); ) Prand used as a sequence ...

  4. Group Help

    ... eplaceOut .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 ...

  5. 15_Scheduling Help

    ... mbN .ar( In .ar(0, 1), 0.35, [ Rand (0.05, 0.3), Rand (0.05, 0.3)], // generate random values every time a synth is created 7, 0.5 ) ) }).load(s); // DEFINE GROUPS TO CONTROL ORDER-OF-EXECUTION // attach a ~source group to the head of the r ...

  6. Maybe Help

    ... ; ~x.value; // return [ 610, 810 ] ~c = { [10, -10].rand }; ~x.value; // return random between [ 610..620, 800..810 ]

  7. Server-Architecture Help

    ... 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 ...

  8. SC2DSlider Help

    ... ctions are: key action comment r activex_(1.rand), activey_(1.rand) with action random n activex_(0), activey_(0) with action left lower corner x activex_(1), activey_(1) with action top left corner c activex_(0.5), activey_(0.5) with actio ...

  9. PG_06a_Repetition_Contraint_Patterns Help

    ... iants on the same thing // Use Pconst or Pfindur to create 4-beat segments with randomized rhythm // Pconst and Pfindur both can ensure the total rhythm doesn't go above 4.0 p = Pn ( Pbind ( // always a low C on the downbeat \degree , Pseq ...

  10. Quant Help

    ... ded for that calculation should also be present in the Event. // schedule for a random number of beats after the next integer Pfuncn ({ thisThread .clock.beats.debug( "scheduled for" ); nil }, 1) .play(quant: ( nextTimeOnGrid: { |self, cloc ...

prev 11 12 13 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow