Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 100).normalize(0, 8pi).sin.plot2; // nested arrays { (0..100).normalize(0, 15.0.rand).sin }.dup(3).plot2; { { (0..17).normalize(0, 15.0.rand).sin }.dup(4) }.dup(3).plot2; // UGen functions { SinOsc .ar([700, 357]) * SinOsc .ar([400, 476]) * ...

  2. Pgauss Help

    Pgauss random values that follow a Gaussian Distribution superclass: Pattern Pgauss(mean, standardDeviation, length) mean The mean of the distribution (defaults to 0.0) standardDeviation The spread of values around the mean. length number o ...

  3. How-to-Use-the-Interpreter Help

    ... b = [ // array of possible impulse excitation behaviours { Impulse .ar(2 + 0.2.rand, 0.3) }, // slow phasing { Dust .ar(0.5, 0.3) }, // "wind chimes" { Impulse .ar( SinOsc .kr(0.05+0.1.rand, 2pi.rand, 5, 5.2), 0.3) } // races ].choose; // ...

  4. TaskProxy Help

    ... ( x.source = { loop { s.sendMsg( "/s_new" , "pdef_grainlet" , -1,0,0, \freq , rrand(600, 640)); 0.1.wait; } } ) ( x.source = { var x; x = Pseries (300, 20, 100).loop.asStream; loop { s.sendMsg( "/s_new" , "pdef_grainlet" , -1,0,0, \freq , ...

  5. SelectXFocus Help

    ... kr(0, 1, 0, 0.1); my = MouseY .kr; mwrap = { |pmin, pmax, min, max| sin(mx * ExpRand (pmin, pmax)) + 1 * 0.5 * ExpRand (min, max) }; a = { var freq, fmul, phase; freq = mwrap.(10, 40, 200, 5000) + ExpRand (200, 3000); fmul = LFNoise0 .kr( E ...

  6. HiliteGradient Help

    ... w = Window .new.front; v = CompositeView (w, Rect (50,50,300,300)); c = Color .rand; d = c.vary(0.15); v.background = HiliteGradient (c, d, \v ); [c, d].postln ) ( var w, k, c, d, e, c1, c2, f, g; w = Window .new.front; k = Slider2D (w, Re ...

  7. SCSlider Help

    ... nicode) The default keydown actions are: key action comment r valueAction_ (1.0.rand) n valueAction_ (0) x valueAction_ (1) c valueAction_ (0.5) ] increment by step [ decrement by step unicode 16rF700, increment by step up arrow unicode 16r ...

  8. 14_Frequency_modulation Help

    ... ReplaceOut .ar( 6, Mix .arFill(7, { CombL .ar( In .ar(4, 1), 0.1, LFNoise1 .kr( Rand (0, 0.1), 0.04, 0.05), 15) }) ) }).load(s); SynthDef ( "allpass" , { arg gain = 0.2; var source; source = In .ar(6, 1); 4.do({ source = AllpassN .ar(source ...

  9. plot Help

    ... p(5) }.dup(200).plot( "Some 2-d data" ); // 3-channel interlaced data b = [{1.0.rand}.dup(50), { 20.0.rand - 30 }.dup(50),{ 10.0.rand }.dup(50)].lace(150); b.plot(numChannels:3, minval: nil , maxval: nil ); // Common rescaling b.plot(numCha ...

  10. FunctionList Help

    ... lue; a = a.removeFunc(x); a.value; // mathematics a = nil ; a = a.addFunc({ 1.0.rand }).addFunc({ [0, 1].choose }); a = a.squared.linexp(0, 1, 1.0, 500); a.value; // compatibility with function multichannel expansion a = nil ; a = a.addFunc ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow