Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... building new synths every 2 seconds ( fork { loop { play { var mod = SinOsc.kr(Rand(0.1, 0.9), 0, Rand(5, 20)); Pan2.ar(DynKlang.ar(`[Array.rand(12, 200.0, 2000.0), 1, mod]), 1.0.rand) * EnvGen.kr(Env.sine(4), 1, 0.02, doneAction: Done.fre ...

  2. EZRanger Doc

    ... @1; 20.do{ g = EZRanger(w, 400@16, " test ", \freq, { |v| v.value.postln }, [50.rand, 50+20000.rand], unitWidth: 30) .setColors(Color.grey, Color.white, Color.grey(0.7), Color.grey, Color.white, Color.white, Color.yellow) .font_(Font("Helve ...

  3. WinBounds Doc

    ... \n" ++ WinBounds.saveString); // jumble Window.allWindows.do(_.bounds_(Rect(800.rand, 800.rand, 300, 300))); // restore one WinBounds.restore("abc"); // restore one window by name WinBounds.restoreAll; // restore all of them /// save curren ...

  4. ScopeView Doc

    ... T c.server = s; v = CompositeView(w, Rect(400, 10, 380, 380)).background_(Color.rand(0.7)); v.decorator = n = FlowLayout(v.bounds, margin: 0@0, gap: 5@5); a = StaticText(v, Rect(20, 70, 90, 20)).string_(" xZoom = 1").background_(Color.rand) ...

  5. 160-growth Doc

    ... h, height], wgrav, 99, 0); //dim,grav,maxvel,damp //--interface ~initSize= {1.1.rand}; //object size at creation ~distance= 4; //collision min distance //--objects - the first one always in the middle RedObject(world, RedVector2D[width*0.5, ...

  6. VLayoutView Doc

    ... ).value_(i / q) }); w.front ) // show the area of the view. v.background_(Color.rand) // The sliders automatically expand to the optimal width ⧉ ✔ Stretching the layout view; Slider height is fixed: ( q = 10; w = Window.new; v = VLayoutView ...

  7. 131-obstacle_rocks Doc

    ... v, 15, 0.5); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[250, 10].rand; //initial xy location var vel= RedVector2D[3.5, 0].rand; //initial velocity var acc= RedVector2D[0, 0]; //initial acceleration RedObject(world, loc, vel, ...

  8. Gendy3 Doc

    ... ( { Pan2.ar(Mix.new( Gendy3.ar(3, 5, 1.0, 1.0, (Array.fill(5, { LFNoise0.kr(1.3.rand, 1, 2) })*MouseX.kr(100, 378, 'exponential')), MouseX.kr(0.01, 0.05), MouseY.kr(0.001, 0.016), 5, mul: 0.1) ))}.play ) // play me { Pan2.ar(RLPF.ar(Gendy3. ...

  9. Pluck Doc

    ... ( { var freq, numparts; numparts = 50; freq = SinOsc.kr(Array.fill(numparts, { Rand(0.05, 0.2) }), Array.fill(numparts, { Rand(0, 1.0) })).range(1000, 3000); LeakDC.ar( Pan2.ar( Pluck.ar( WhiteNoise.ar(0.1).dup(numparts), Impulse.kr(Array. ...

  10. 171-springs_more Doc

    ... rg= RedObject(world, RedVector2D[width*0.5, height*0.5]); objs= { var mass= 2.0.rand+1; RedObject(world, RedVector2D[width.rand, height.rand], RedVector2D[0, 0], RedVector2D[0, 0], mass, mass*10); }.dup(n); sprs= objs.collect{|obj| RedSprin ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow