Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... db dbamp octcps cpsoct log log2 log10 sin cos tan asin acos atan sinh cosh tanh rand rand2 linrand bilinrand sum3rand distort softclip coin even odd isPositive isNegative isStrictlyPositive rho theta Binary Messages + - * / div % ** min max ...

  2. 062-angents-fm_synth Doc

    ... jects objsFunc= { //for creating new agents var loc= RedVector2D[width, height].rand; var obj= RedAgent(world, loc, RedVector2D[0.5, 0.5].rand2, nil, 1, 10) .maxForce_(1.2).wchange_(0.9).wdistance_(5).wradius_(10); obj.state= ( //init state ...

  3. UserView Doc

    ... = UserView(w, w.view.bounds.insetBy(50, 50)); v.resize = 5; v.background_(Color.rand); v.drawFunc = { |uview| Pen.moveTo(0@uview.bounds.height.rand); Pen.lineTo(uview.bounds.width@uview.bounds.height.rand); Pen.stroke; }; v.mouseDownAction ...

  4. Klang Doc

    ... ang.ar(`[[800, 1000, 1200], nil, nil], 1, 0) * 0.25 }); play({ Klang.ar(`[Array.rand(12, 600.0, 1000.0), nil, nil], 1, 0) * 0.05 }); ( { loop({ play({ Pan2.ar(Klang.ar(`[Array.rand(12, 200.0, 2000.0), nil, nil], 1, 0), 1.0.rand) * EnvGen.kr ...

  5. RedGrain Doc

    ... r.buf_([~b1, ~b2, ~b3].wrapAt(i)); 0.1.wait}; }; ) //cycle through buffers and randomise playback rate ( fork{ 20.do{|i| r.buf_([~b1, ~b2, ~b3].wrapAt(i)); r.rate_(2.0.rand2); 0.1.wait; } }; ) //now for something completely different ( r.r ...

  6. Pmindread Doc

    ... eq=440, amp=0.1, pan=0, gate=1; var z; z = RLPF.ar( Mix.new(Pulse.ar(freq + [0, Rand(-0.4,0.0), Rand(0.0,0.4)] / 4, 0.3, 0.3)), XLine.kr(Rand(4000, 500), Rand(2500, 200), 1), 0.02 ) * Linen.kr(gate, 0.01, 0.7, 0.03, 2); OffsetOut.ar(out, Pa ...

  7. VectorSplineGui Doc

    ... splines, one for each dimension (except the first). ( l = LinearSpline({ { 4.0.rand } ! 6 } ! 12); v = VectorSplineGui(l).gui(nil,1000@1000); v.focused = 1; v.focused = 2; ) ⧉ ✔ Class Methods Inherited class methods Instance Methods . focu ...

  8. 016-repulsive2 Doc

    ... Vector2D[width/2, 100], nil, nil, 50, 5); { var loc= RedVector2D[width, height].rand; RedObject(world, loc, RedVector2D[1.5, 1.0].rand, RedVector2D[0, 0], 1.5, 10) }.dup(n); //world,loc,vel,acc,mass,size //--loop w.draw{ Pen.strokeColor= Co ...

  9. RedGrain2 Doc

    ... r.buf_([~b1, ~b2, ~b3].wrapAt(i)); 0.1.wait}; }; ) //cycle through buffers and randomise playback rate ( fork{ 20.do{|i| r.buf_([~b1, ~b2, ~b3].wrapAt(i)); r.rate_(2.0.rand2); 0.1.wait; } }; ) //now for something completely different ( r.r ...

  10. 026-multiple_barycenter Doc

    ... 0.1); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var mass= 2**1.0.rand; RedObject(world, loc, 0, 0, mass, mass*4); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ var bary= RedVector2D[0, 0], to ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow