Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... //dim,grav,maxvel,damp //--objects { var loc= RedVector3D[width, height, depth].rand; var vel= RedVector3D[2, 2, 2].rand2; var acc= RedVector3D[0, 0, 0]; var mass= 0.5.rrand(4); var obj= RedBoid(world, loc, vel, acc, mass, mass*10) .maxForc ...

  2. 0b_influxWeightz Quark

    /* Hand/Rand-make 8 weights presets for influx, so we can step thru them for different instrument feel. //////// tests // attach these functions to your (HW/SW) Buttons: NTMI.inph.stepWPre(1); // next NTMI.inphlux.presets.findKeyForValue(NT ...

  3. SplineGen Quark

    ... ction:2) }.play ) // Linear ( b = LinearSpline ( Array.fill(60,{ arg i; [ i,1.0.rand ] }) ); b.gui( nil ,1200@300); ) ( { PinkNoise .ar * SplineGen (b).kr(doneAction:2) }.play ) Loop Its not the spline that loops ( that would be a loop in 2 ...

  4. XiiGrainBox Quark

    ... ield, yfield, infoFunc, infoButt, record, recorder, s, r, b; var startStopButt, randCntrPos; var paraDict1, paraDict2, getCenterPos, selbox, p; var cmdPeriodFunc, outbusarray, channelbuffers, point, glVolSlider; envViewList = List.new; gBuf ...

  5. ferrari Quark

    ... tick hat buttons left hat for down by one, right hat for up by one, or both for random choice of influx preset. 5. sound preset choices: - hold one of buttons 1-4, and: press compass down on left side for next preset DOWN of that sound, pre ...

  6. SGliss Quark

    ... AbstractSGlissVoice { *type {^\Saw} func { ^{|fre, amp| var snd= VarSaw.ar(fre, Rand(0, 1), LFNoise2.kr(0.1, 0.45, 0.5), AmpComp.kr(fre)); snd*amp; }; } } SGlissSine : AbstractSGlissVoice { *type {^\Sine} func { ^{|fre, amp| SinOsc.ar(fre, ...

  7. pressure_and_steam Quark

    ... outlet1, { |out, amp=0.1, sustain=5, freq=5000| var energy = EnvGen.kr(Env.perc(Rand(0.01, 0.02), sustain), doneAction:2); var son; son = Resonz.ar(WhiteNoise.ar(0.5.dup), energy.linlin(1, 0, freq, freq * 0.2), 0.4); Out.ar(out, son * energ ...

  8. xFMSH Quark

    ... lag) ); sig.collect{|si, i| // multichannel expansion PanAz.ar(2, si, SinOsc.kr(Rand(0.1, 0.2), 0, Rand(1, 2)), amp) }.sum; }); );

  9. Phrand Quark

    // wslib 2011 // history aware random // chooses item from a list without repeating // histSize sets the number of items to be remembered for repetition // setting histSize to the size of the list - 1 results in a repetitive pattern /* x = ...

  10. WFSPoint Quark

    ... s).asWFSPoint.asPoint; ^Rect.fromPoints( this.asPoint, otherCorner.asPoint ) } *rand { arg radius = 1.0, z = 0; // 2D var azimuth, distance; distance = radius.rand; azimuth = 2pi.rand; ^(([azimuth.sin, azimuth.cos] * distance) ++ [z]).asWFS ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow