Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 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 di ...

  2. Remap_Influx_by_envelope Quark

    ... didactic first example, single param remapped by envelope q = q ? (); // simple random envelope: goes from -1 left, 0 center, 1 right, // random breakpoints in between q.makeEnv = { |q, numSteps = 8| var numTimes = numSteps.max(2).round(2). ...

  3. 132-obstacle_rocks_synth Doc

    ... 0.5); //dim,grav,maxvel,damp //--objects objs= { 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, ...

  4. 132-obstacle_rocks_synth Quark

    ... 0.5); //dim,grav,maxvel,damp //--objects objs= { 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, ...

  5. SETOServerView Quark

    ... ay(0.5, 0.5); /*10.do{|i| e.tServer.setWithFormat("ixya", i, [0, i/10, 0.5, 2pi.rand])}; e.tServer.alive((0..9)) */ ) ( var num = 20, w; num.do{ |i| w = 2pi * (i/(num)); e.tServer.setWithFormat( "ixya" , i, [0, (sin(w)+1*0.4+0.1), (cos(w)+1 ...

  6. TdefPreset Quark

    ... rr( \bebe ); Tdef(\a).envir z.setTarg( \ada ); Tdef(\a).envir ( // morphing and randomizing settings require specs to exist! Spec.add(\plong, [0, 100]); Spec.add(\dt, [0.01, 100, \exp]); w = Window("TdefPreset test", Rect(20, 300, 420, 400) ...

  7. XixiSampleCircle Quark

    ... | if(argstageRect == nil, { stageRect = argpoint; point = Point(stageRect.width.rand, stageRect.height.rand); },{ stageRect = argstageRect; point = argpoint; }); drawer = argdrawer; alpha = 0.5; fillcolor = Color.rand.alpha_(alpha); strokec ...

  8. envelo Quark

    ... e=0, loopnode=0, formfact=2, widfact=0.5, spread=1| var env = EnvGen.kr( Env( { Rand(-1,1.0) }!11, { Rand(0, 1.0)}!10 * timescale, curve, releaseNode: 9, loopNode: loopnode) ); var pitch = (env * [1, 0.33, -1] * intv).midiratio * freq; Spla ...

  9. TDuty Doc

    ... ugen as audio oscillator ( { var a, trig, n = 5, m = 64; a = { var x; x = { 0.2.rand2 } ! m; x = x ++ ({ Drand({ 0.2.rand2 } ! n) } ! m.rand); Dseq(x.scramble, inf) } ! n; trig = TDuty.ar( MouseX.kr(1, 2048, 1) * SampleDur.ir * [1, 1.02], 0 ...

  10. PopUpEditor Doc

    ... s Instance methods labels values selectedIndex init pueinit value selectByIndex rand guiClass Inherited instance methods Classes (extension) | Libraries > crucial'>crucial > crucial>Editors'>Editors PopUpEditor Extension selects from an int ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow