Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    //Bouncy_Balls //Originally created by Jeffrey Traer Bernstein http://murderandcreate.com/physics/ ( var width= 400, height= 400; var win= Window("Bouncy Balls", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, width ...

  2. Bouncy_Balls Quark

    //Bouncy_Balls //Originally created by Jeffrey Traer Bernstein http://murderandcreate.com/physics/ ( var width= 400, height= 400; var win= Window("Bouncy Balls", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, width ...

  3. TestMatrix Quark

    ... /www.cs.toronto.edu/~roweis/notes/matrixid.pdf [2, 3, 4].do{|matsize| a = {{2.0.rand}.dup(matsize)}.dup(matsize).as(Matrix); b = {{2.0.rand}.dup(matsize)}.dup(matsize).as(Matrix); c = {{2.0.rand}.dup(matsize)}.dup(matsize).as(Matrix); tests ...

  4. 018-repulsive_discrete Doc

    ... edVector2D[0.gauss(2), 0.gauss(2)]+(n/2); RedObject(world, loc, RedVector2D[1.0.rand2, -2.0.rand], nil, 15, pixelSize); //world,loc,vel,acc,mass,size }; }; //--loop w.draw{ Pen.smoothing_(false); Pen.strokeColor= Color.green; rep.loc= w.mou ...

  5. 018-repulsive_discrete Quark

    ... edVector2D[0.gauss(2), 0.gauss(2)]+(n/2); RedObject(world, loc, RedVector2D[1.0.rand2, -2.0.rand], nil, 15, pixelSize); //world,loc,vel,acc,mass,size }; }; //--loop w.draw{ Pen.smoothing_(false); Pen.strokeColor= Color.green; rep.loc= w.mou ...

  6. TestSched Quark

    ... = 0.5; //AlgaScheduler.verbose = true; Alga.boot({ AlgaSynthDef(\t, { SinOsc.ar(Rand(220, 2000)) * EnvGen.ar(Env.perc) * 0.1 } ).add; AlgaSynthDef(\t_const, { SinOsc.ar(Rand(220, 2000)) * 0.01 } ).add; AlgaSynthDef(\bypass, { \in.ar } ).add ...

  7. __score-player_GUI Quark

    ... le open ( ~player.schedAllArrays([ [\this, 2.0, 4] + 3, [\more, 0.5, 5.0] + 4.0.rand, [\that, 3.0, 4.5], ] * rrand(0.5, 1.5)); ) // moving in the timeline ( Tdef(\x, { var endTime = ~player.lastEndTime; inf.do { ~player.jumpTo(endTime.rand) ...

  8. 004-multiple_synth Doc

    ... = 0.3, amp= 1, pan= 0| var e, z, freqs, amps, rings; freqs= Array.geom(4, freq, Rand(1.5, 2.5)); amps= Array.geom(4, 0.5, Rand(0, 1)); rings= Array.geom(4, maxDur, Rand(0, 1))*maxDur; e= EnvGen.ar(Env.perc(0.01, maxDur), 1, amp, doneAction: ...

  9. 004-multiple_synth Quark

    ... = 0.3, amp= 1, pan= 0| var e, z, freqs, amps, rings; freqs= Array.geom(4, freq, Rand(1.5, 2.5)); amps= Array.geom(4, 0.5, Rand(0, 1)); rings= Array.geom(4, maxDur, Rand(0, 1))*maxDur; e= EnvGen.ar(Env.perc(0.01, maxDur), 1, amp, doneAction: ...

  10. NodeProxy_roles Help

    ... .ar(rate * [1, 1.2]), freq, dt)*0.1 }; a.play; ( a[1] = \set -> Pbind ( \dur , Prand ([1, 0.5], inf ), \freq , Pwhite (200.0, 1000, inf ), \rate , Pstutter (4, Prand ([1, 3, 6, 10], inf )), \dt , Pwhite (0.01, 0.1, inf ) ) ); // modify the ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow