Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. jitlib_fading Help

    ... ated, but the synth is freed (without fading) ( ~out = { Out .ar(0, SinOsc .ar( Rand (440,550),0,0.2)) }; ) c) custom fade envelope // when a gate arg is provided, and the env can free the synth, this envelope // is supposed to be the fade ...

  2. ExpRand Help

    ExpRand exponential distribution single random float value ugen ExpRand(lo, hi) Generates a single random float value in an exponential distributions from lo to hi. See also: LinRand , Rand ( SynthDef ( \help_ExpRand , { | out = 0, n = 0 | ...

  3. SCFont Help

    ... SCStaticText (w, 200@20).string_( "The quick drowned fox" ).background_( Color .rand).align_( \center ); b= SCButton (w, 200@20).states_([[ "The quick drowned fox" ]]).background_( Color .rand); c= SCPopUpMenu (w, 200@20).items_([ "The quic ...

  4. 15 Help

    ... : ts) ) }).load(s); ) ( r = Routine ({ 12.do({ Synth ( "fm2" , [ \freq , 400.0.rrand(1200), \carPartial , 0.5.rrand(2), \ts , 0.1.rrand(4)]); 2.wait; }) }); ) r.reset.play; /////////////////////////////////////////////////////////////////// ...

  5. Dseq Help

    ... c .ar(freq) * 0.1 }.play; ) // audio rate ( { var a, freq, trig; a = Dseq ({ 10.rand } ! 32, inf ); trig = Impulse .ar( MouseX .kr(1, 10000, 1)); freq = Demand .ar(trig, 0, a) * 30 + 340; SinOsc .ar(freq) * 0.1 }.play; )

  6. Function Help

    ... / example ( var a, b, c; a = { [100, 200, 300].choose }; // a Function b = { 10.rand + 1 }; // another Function c = a + b; // c is a Function. c.value.postln; // evaluate c and print the result ) See AbstractFunction for function compositio ...

  7. NRand Help

    NRand NRand(lo, hi, n) Generates a single random float value in a sum of n uniform distributions from lo to hi. n = 1 : uniform distribution - same as Rand n = 2 : triangular distribution n = 3 : smooth hump as n increases, distribution con ...

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

  9. Pdefn Help

    ... - Pdefn ( \a )); // (re)define Pdefn(\c) 8.do { t.value.postln }; Pdefn ( \a , Prand ([1, 4, 2], inf )); // (re)define Pdefn(\a) Embedding Pdefn in other patterns Pdefn ( \x , Pseq ([1, 2, 3], inf )); x = Pseq ([0, 0, Pdefn ( \x )], inf ).a ...

  10. BinaryOpFunction Help

    ... NAryOpFunction related: BinaryOpStream , Pbinop // sound example ( var a = { 19.rand }; var b = { [5, 8, 9].choose }; var c = a + b; fork { 15.do { (instrument: \default , note: [c.value, a.value]).play; 0.3.wait; } } )

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow