-
... .sum * amp; sig = DelayN.ar(sig, 0.03, 0.03); sig = CombN.ar(sig, 0.1, {Rand(0.01,0.099)}!32, dec); sig = SplayAz.ar(2, sig); sig = LPF.ar(sig, lpf); 5.do{sig = AllpassN.ar(sig, 0.1, {Rand(0.01,0.099)}!2, 3)}; sig = LPF. ...
-
... }.play; }; Tdef(\player, { var p; inf.do{|i| (i % 4 == 0).if({ p = 0; },{ p = 6.rand; }); m.(p, 1.0.rand); 0.125.wait } }).play k.elAt(\pad, 1).value = 1 ****/ ( deviceName: "nord drum2", protocol: 'midi', deviceType: 'drum', elementTypes: ...
-
... rray.newClear(param[0].size); win = SCWindow(" fastgui: " ++ name, Rect(10 + 20.rand, 500 + 20.rand, 300, (param[0].size * 20) + 50), false); win.view.decorator = lay = FlowLayout(win.view.bounds, 5@5, 5@5); SCStaticText(win, 50 @ 15).font_ ...
-
... mainPulse + proxy, 0, ampMod).tanh; numOfEchos.do{ delayTime = {delayMax.rand + delayAdd}!2; output = AllpassL.ar(output, 0.1, delayTime, 5); }; output.tanh; }).play )
-
... 0, 10), mul: Line.kr(1, 5, 10)) + RLPF.ar(Pulse.ar(Line.ar(1, 0.9, 10) * 25, Rand(0, 1)), 400, mul: 20) + RLPF.ar(Impulse.ar(Line.ar(1, 1.1, 10) * 50, Rand(0, 1)), 200, mul: 20) + RLPF.ar(Impulse.ar(Line.ar(1, 0.8746, 10) * 75, Ran ...
-
... , one can do all sorts of things there. Here, we have three targets and several random obstacles. The function in moveFlock() moves the targets and adjusts their gravity such that when no agents are close by (attacking, one can imagine), th ...
-
... LED.perform(offcolor,1); }) } } } LPParameterFader :LPFader{ var rand; *new{|parameter,oncolor,offcolor,range,onfront,onhide,rand| ^super.new(nil,nil,nil,nil,range,onfront,onhide).pfinit(parameter,oncolor,offcolor,rand); ...
-
... ); }) } nextIndex { var res; if(transitions.isNil) { ^collective.addresses.size.rand }; ^if(weights.isNil) { transitions.size.rand } { res = transitions[weights.windex]; if(res.isNil) { Error("not the right number of transitions / weights") ...
-
... timeScale: ts) ) }).add; ) ( r = Routine({ 12.do({ Synth("fm2", [\freq, 400.0.rrand(1200), \carPartial, 0.5.rrand(2), \ts, 0.1.rrand(4)]); 2.wait; }) }); ) r.reset.play; ⧉ ✔ ///////////////////////////////////////////////////////////////// ...
-
... , unicode, keycode; var zoom = this.getScale(modifiers); // standard keydown // rand could also use zoom factors if (char == $r, { this.valueAction = 1.0.rand; ^this }); if (char == $n, { this.valueAction = 0.0; ^this }); if (char == $x, { ...