-
... //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 ...
-
/* 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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, ...
-
... 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 ...
-
... lag) ); sig.collect{|si, i| // multichannel expansion PanAz.ar(2, si, SinOsc.kr(Rand(0.1, 0.2), 0, Rand(1, 2)), amp) }.sum; }); );
-
// 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 = ...
-
... 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 ...