Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... | if(argstageRect == nil, { stageRect = argpoint; point = Point(stageRect.width.rand, stageRect.height.rand); },{ stageRect = argstageRect; point = argpoint; }); fillcolor = XiiColors.darkgreen; strokecolor = Color.black; //predatorArray = ...

  2. SETOTarsusServer Quark

    ... send it messages n = NetAddr .localAddr; n.sendMsg( '/client' , \set , 42, 0.7.rand, 0.5, 2pi.rand, 10, 20, 30.rand); i.update ) t.stop; /////////////////////// o = OSCresponder ( NetAddr ( "192.168.0.20" , nil ), "/client" , { |time, resp ...

  3. Quaternion Quark

    ... = Quaternion (1, 1, 1, 1); a.conjugate; a.conjugate.conjugate; b = Quaternion .rand(-10, 10); c = Quaternion .rand(-10, 10); norm(b * c) == (norm(b) * norm(c)); // true b.reciprocal.reciprocal == b; // true i = Quaternion (0, 1, 0, 0); j = ...

  4. random Quark

    WFSPathGeneratorDef( \random, { |f, path, n| var center, radius; center = f.get( \center ); radius = f.get( \radius ); thisThread.randSeed = f.get( \seed ); path.positions = n.collect({ (Polar( 1.0.rand, 2pi.rand ).asPoint * radius ) + cent ...

  5. NMLNetRecord Quark

    ... new; ~hail = Hail(~addrBook); a = NMLNetRecord.new(~addrBook, s); { SinOscFB.ar(Rand(400.0, 300), Line.kr(1, 3, 10, doneAction:2)) * 0.1 }.play; a.start; // hit cmd-period, wait a little, then: { SinOscFB.ar(Rand(400.0, 3000), Line.kr(3, 1, ...

  6. HeatMap Quark

    ... colour) Allows you to highlight a single point of interest, as follows: // Some random data a = (0..9).scramble.blendAt((0.1, 0.2 .. 9)); h = a.heatMap(10, Rect (0, 0, 300, 200), xLabels: true , yLabels: true , colscheme: \bw ); h.highlight ...

  7. XiiSnd Quark

    ... | if(argstageRect == nil, { stageRect = argpoint; point = Point(stageRect.width.rand, stageRect.height.rand); },{ stageRect = argstageRect; point = argpoint; }); fillcolor = XiiColors.darkgreen; strokecolor = Color.black; //predatorArray = ...

  8. dual_ana_3_2 Quark

    ... zoom * sign ); } } }; // joyhat L R switches prev/next preset on inphlux, both: rand /// FIXME: mark modalAction has happened, // dont do basic action on second release m.getHalo.hatWasUsed = false; m.elAt(\joy, \l, \hat).elemDesc.label = " ...

  9. stereo Quark

    ... r - l ]; center = stereo - sides; 4.do({ sides = AllpassL.ar(sides, 0.05, [0.05.rand, 0.05.rand], decay) }); Mix.new([ center * centerLevel, sides * sidesLevel ]) },#[ \stereo, \drive, \drive ], \stereoEffect ); Instr([\stereo,\hardSides],{ ...

  10. Orb Quark

    ... Color .green) o.set(1, Color .red) o.set([0, 1, 2], Color .hsv(0.4, 1, 1), {3.0.rand}!3) o.set(0, Color (1, 0.5, 0.5)) o.set(2, Color .blue, 20) o.set(0, Color .gray(0.1), 30) o.set([0, 1, 2], Color .new255(*[1, 1, 1]*10)) o.set((0..2), Col ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow