Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... = 'white'| switch( type, \white, { range[0] rrand: range[1]; }, \linear, { 1.0.linrand.linlin(0,1,*range); }, \invlinear, { 1.0.linrand.linlin(0,1,range[1], range[0]) }, \bilinear, { 1.0.bilinrand.linlin(-1,1,*range); }, \mean, { 2.collect ...

  2. random_value Quark

    ... = 'white'| switch( type, \white, { range[0] rrand: range[1]; }, \linear, { 1.0.linrand.linlin(0,1,*range); }, \invlinear, { 1.0.linrand.linlin(0,1,range[1], range[0]) }, \bilinear, { 1.0.bilinrand.linlin(-1,1,*range); }, \mean, { 2.collect ...

  3. 174-springs_interconnected Doc

    ... .dup(n); sprs= objs.collect{|x| objs.collect{|y| if(x!=y, { RedSpring(x, y, 0.2.linrand, 1.0.linrand, 200.rrand(300)); }); }.select{|x| x.notNil}; }.flat; syns= {Synth(\imp)}.dup(n); //--loop w.draw{ //--render Pen.smoothing= true; Pen.stro ...

  4. 174-springs_interconnected Quark

    ... .dup(n); sprs= objs.collect{|x| objs.collect{|y| if(x!=y, { RedSpring(x, y, 0.2.linrand, 1.0.linrand, 200.rrand(300)); }); }.select{|x| x.notNil}; }.flat; syns= {Synth(\imp)}.dup(n); //--loop w.draw{ //--render Pen.smoothing= true; Pen.stro ...

  5. ExpRand Help

    ... gle random float value in an exponential distributions from lo to hi. See also: LinRand , Rand ( SynthDef ( \help_ExpRand , { | out = 0, n = 0 | Out .ar(out, FSinOsc .ar( ExpRand (100.0, 8000.0, n), 0, Line .kr(0.2, 0, 0.01, doneAction:2)) ...

  6. nameOfUnaryOpSpecialIndex Quark

    ... in, \Cos, \Tan, \ArcSin, \ArcCos, \ArcTan, \SinH, \CosH, \TanH, \Rand, \Rand2, \LinRand, \BiLinRand, \Sum3Rand, \Distort, \SoftClip, \Coin, \DigitValue, \Silence, \Thru, \RectWindow, \HanWindow, \WelchWindow, \TriWindow, \Ramp, \SCurve].at( ...

  7. sFiles Quark

    ... {|img| Pen.fillColor= Color.yellow(0.3, 0.15); 100.do{|i| Pen.fillOval(Rect(400.linrand, 400.linrand, 50, 50)); }; }); win.view.setBackgroundImage(backgroundImage, 10, 0.2); if(SGUI.currentTheme!=\dark, { win.view.children.select{|v| v.isKi ...

  8. KDTree Quark

    ... yNN; // The following should have a lower entropy than the above: KDTree ({[1.0.linrand, 1.0.linrand]}.dup(1000)).entropyNN; // Even lower entropy: KDTree ({[1.0.linrand.squared, 1.0.linrand.squared]}.dup(1000)).entropyNN; // For a 1D unifo ...

  9. KDTree Quark

    ... yNN; // The following should have a lower entropy than the above: KDTree ({[1.0.linrand, 1.0.linrand]}.dup(1000)).entropyNN; // Even lower entropy: KDTree ({[1.0.linrand.squared, 1.0.linrand.squared]}.dup(1000)).entropyNN; // For a 1D unifo ...

  10. Integer.ext Quark

    ... "Tan", "ArcSin", "ArcCos", "ArcTan", "SinH", "CosH", "TanH", "Rand_", "Rand2", "LinRand_", "BiLinRand", "Sum3Rand", "Distort", "SoftClip", "Coin", "DigitValue", "Silence", "Thru", "RectWindow", "HanWindow", "WelchWindow", "TriWindow", "Ramp ...

prev 1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow