Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (86) Code (9) Doc (36) Help (17) Quark (24) SCDoc ↗ Forum ↗ Google ↗
  1. LinRand Doc

    LinRand: Filter: Description Class methods new Inherited class methods Instance methods Inherited instance methods Examples Classes | UGens > Random'>Random LinRand : UGen : AbstractFunction : Object Skewed random number generator. Source: ...

  2. LinRand Help

    LinRand linear distribution single random float value ugen LinRand(lo, hi, minmax) Generates a single random float value in linear distribution from lo to hi , skewed towards lo if minmax < 0, otherwise skewed towards hi. See also: Rand , E ...

  3. linrand Quark

    ArrayGeneratorDef( \linrand, { |f, n = 1| var range; range = f.get( \range ); thisThread.randSeed = f.get( \seed ); n.collect({ |i| 1.0.linrand.linlin(0,1,*range); }); }, [ \range, [0.0,1.0], \seed, 12345 ], { |f, obj| [ \range, if( obj.min ...

  4. Randomness Help

    ... random numbers: 1. Between zero and <number>: 5.rand // evenly distributed. 1.0.linrand // probability decreases linearly from 0 to <number>. 2. Between -<number> and <number>: 5.0.rand2 // evenly distributed. 10.bilinrand // probability is ...

  5. Randomness Doc

    ... le random numbers '>Between zero and <number> 5.rand // evenly distributed. 1.0.linrand // probability decreases linearly from 0 to <number>. ⧉ ✔ %20and%20 '>Between -<number> and <number> 5.0.rand2 // evenly distributed. 10.bilinrand // pr ...

  6. Pprob Help

    ... extN(800).sort.plot( "sorted distribution, again" ); ) // comparison: emulate a linrand ( var a, b, x, y; a = Pprob ([1, 0]); x = Pfunc ({ 1.0.linrand }); b = a.asStream; y = x.asStream; postf( "Pprob mean: % linrand mean: % \n" , b.nextN(8 ...

  7. Rand Help

    ... playing, and remains fixed for the duration of the synth's existence. See also: LinRand , ExpRand ( SynthDef ( \help_Rand , { | out = 0, minmax = 1 | Out .ar(out, FSinOsc .ar( LinRand (200.0, 10000.0, minmax), 0, Line .kr(0.2, 0, 0.01, done ...

  8. Pprob Doc

    ... .nextN(800).sort.plot("sorted distribution, again"); ) // comparison: emulate a linrand ( var a, b, x, y; a = Pprob([1, 0]); x = Pfunc({ 1.0.linrand }); b = a.asStream; y = x.asStream; postf("Pprob mean: % linrand mean: % \n", b.nextN(800). ...

  9. alarms by redfrik (redFrik) Code

    ... 3, 30), 0, Rand(0.4, 0.6), Rand(-100, 100)), Rand(0.4, 0.6), LFPulse.kr(LinRand(0.05, 2), 0, LinRand(0.1, 0.5), 0.5) ); Pan2.ar(src, Rand(-0.95, 0.95), amp.lag(lag)); }); }; Ndef.all; //list them ) //--start alarms ...

  10. redo_minimalish sketch by fredrik-olofsson (Fredrik Olofsson) Code

    ... amp= 0.1, gate= 1, detune= 0| var env= EnvGen.ar(Env.perc(Rand(0.001, 0.01), LinRand(0.2, 0.4), amp, Rand(-9, -1)), doneAction:2); var snd= Mix(SinOsc.ar(freq+[0, detune*0.1], env*2pi)); Out.ar(out, Pan2.ar(snd*env, Rand(-1, 1))); ...

1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow