-
... //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 ...
-
... se.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, Pdup(4, Prand([1, 3, 6, 10], inf)), \dt, Pwhite(0.01, 0.1, inf) ) ); // modify the source in the me ...
-
... 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 ...
-
... fill(12, { Pan2 .ar( Decay2 .ar( Dust .ar(0.05), 0.1, 0.5, 0.1) * FSinOsc .ar( IRand (36,84).midicps).cubed.max(0), Rand (-1,1)) }); in = in + Pan2 .ar( Decay2 .ar( Dust .ar(0.03), 0.04, 0.3) * BrownNoise .ar, 0); 4.do { in = AllpassN .ar(i ...
-
... s" , { Out .ar( 6, Mix .arFill(7, { CombL .ar( In .ar(4, 1), 0.1, LFNoise1 .kr( Rand (0, 0.1), 0.04, 0.05), 15) }) ) }).load(s); SynthDef ( "allpass" , { arg gain = 0.2; var source; source = In .ar(6, 1); 4.do({ source = AllpassN .ar(source ...
-
... fill(12, { Pan2 .ar( Decay2 .ar( Dust .ar(0.05), 0.1, 0.5, 0.1) * FSinOsc .ar( IRand (36,84).midicps).cubed.max(0), Rand (-1,1)) }); in = in + Pan2 .ar( Decay2 .ar( Dust .ar(0.03), 0.04, 0.3) * BrownNoise .ar, 0); 4.do { in = AllpassN .ar(i ...
-
... 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 ...
-
... ar(voices); }).play; ) ( Tdef(\melody, { var scale = Scale.choose; 24.rand.do { Ndef(\polysynth).set(\t_gate, 1, \midinote, 60+scale.degrees.choose); 2.0.rand.wait; } }).play; ) ( Tdef(\chord, { Ndef(\polysynth).se ...
-
... 1, pan, amp=0.1; var out, eg, fc, osc, a, b, w; fc = LinExp .kr( LFNoise1 .kr( Rand (0.25,0.4)), -1,1,500,2000); osc = Mix .fill(8, { LFSaw .ar(freq * [ Rand (0.99,1.01), Rand (0.99,1.01)], 0, amp) }).distort * 0.2; eg = EnvGen .kr( Env .a ...