Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    Prand embed values randomly chosen from a list superclass: ListPattern Embed one item from the list at random for each repeat. see also: Pxrand , Pwrand ( var a, b; a = Prand ([1, 2, 3, 4, 5], 6); // return 6 items b = a.asStream; 7.do({ b. ...

  2. Func Quark

    ... ctions that may be used for any purpose. #{ |notes| notes.scramble } => Func ( \random ); Func ( \random ).value([60, 62, 64, 65, 67]); If there is no function for the given name symbol, nil will be returned. If needed, you can protect agai ...

  3. Func Quark

    ... ctions that may be used for any purpose. #{ |notes| notes.scramble } => Func ( \random ); Func ( \random ).value([60, 62, 64, 65, 67]); If there is no function for the given name symbol, nil will be returned. If needed, you can protect agai ...

  4. SeenBefore Doc

    ... d to eliminate duplicates. b = SeenBefore.new; f = { 100.rand }; // or choose a random soundfile path 100.do { arg i; var v; v = f.value; if(b.value(v),{ [k,v].postln }) }; ⧉ ✔ Class Methods . new No arguments Inherited class methods Instan ...

  5. 010-attraction Doc

    ... ], RedVector2D[0, 0], 105, 10); { var loc= RedVector2D[30, 30].rand; //start at random position upper left RedObject(world, loc, RedVector2D[1.5, 1], RedVector2D[0, 0], 1.5, 10); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ Pen. ...

  6. 010-attraction Quark

    ... ], RedVector2D[0, 0], 105, 10); { var loc= RedVector2D[30, 30].rand; //start at random position upper left RedObject(world, loc, RedVector2D[1.5, 1], RedVector2D[0, 0], 1.5, 10); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ Pen. ...

  7. 16-Sequencing-with-Patterns Doc

    ... return the list's values in order Pshuf (list, repeats) scramble the list into random order Prand (list, repeats) choose from the list's values randomly Pxrand (list, repeats) choose randomly, but never return the same list item twice in a ...

  8. Logger Doc

    ... uffer.alloc(s, 100); ( // This time we'll trigger something to create and store random values, and recall them later. x = { |t_trig=0, t_reset=0| var source; source = LFNoise0.kr(10); source.poll(t_trig, "Storing this random value"); Logger ...

  9. Dxrand Doc

    ... emand Dxrand : ListDUGen : DUGen : UGen : AbstractFunction : Object Demand rate random sequence generator. Source: Demand.sc See also: Demand , Drand , Dseq , Dser , Duty , TDuty Description Dxrand never plays the same value twice, whereas ...

  10. Drand Doc

    ... Demand Drand : ListDUGen : DUGen : UGen : AbstractFunction : Object Demand rate random sequence generator. Source: Demand.sc See also: Demand , Dseq , Dser , Duty , Dxrand , TDuty Description Dxrand never plays the same value twice, whereas ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow