-
... mAmp, src; freq = Integrator.kr(\freqDrift.kr(0) * 0.001).linlin(-1, 1, 30, 68, clip: \none).midicps; freq = [0.719724, 0, 0.235] + freq; mFreq = freq * ( Integrator.kr(\mIdxDrift.kr(0) * 0.001).linlin(-1, 1, 0, 20, clip: \none)); mAmp = In ...
-
... nu to choose noise source: Pink Noise, White Noise, Gray Noise, Brown Noise, or Clip Noise. // ************************************ // Subtractive Synthesis Demo (GUI) // Patch 1 - Filtering a noise source // Bruno Ruviaro, 2013-07-26 / ...
-
... fill; if (preAmp > 1.0) { Pen.color_(preSatCol); satPreLeft = (1 - (preAmp - 1).clip(0, 1)) * maxwid; nextRect = Rect( satPreLeft, 2, maxwid, height); if (isVertical) { nextRect = swapXYFunc.(bounds, nextRect) }; Pen.addRect(nextRect); Pen. ...
-
... l, { |value = 0.5, time = 0.1, order = 1| 4.do({ |i| var amt; amt = (order - i).clip(0,1) * (order ** -0.5 ); value = value.lag( time * amt ); }); UMapOut.kr(value); }, addToAll: false, extraPrefix: "lag_" ) .setSpec( \time, [0,10, 1.calcCu ...
-
... l, { |value = 0.5, time = 0.1, order = 1| 4.do({ |i| var amt; amt = (order - i).clip(0,1) * (order ** -0.5 ); value = value.lag( time * amt ); }); UMapOut.kr(value); }, addToAll: false, extraPrefix: "lag_" ) .setSpec( \time, [0,10, 1.calcCu ...
-
... locity.set(p.velocity.x, -0.9*p.velocity.y, 0); }); p.position.set(p.position.x.clip(0, width), p.position.y.clip(0, height), 0); }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Mai ...
-
... locity.set(p.velocity.x, -0.9*p.velocity.y, 0); }); p.position.set(p.position.x.clip(0, width), p.position.y.clip(0, height), 0); }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Mai ...
-
... aw.ar([4e3,4054],0,0.2),LFTri.kr(0.01,1e3,1e3).abs)**Saw.ar(400))**Saw.ar(2e3)).clip(-0.5,0.5)}.play //11/29/12 - broken atari
-
... s.lastForWhich({ |item| item[2] <= bar }) ? events[0]; } barAtBeat { |beat = 0, clip = false| var raw, mul; var num, denom, bar, sigStartBeat; if( clip ) { beat = beat.max( 0 ) }; #num, denom, bar, sigStartBeat = this.eventAtBeat(beat); mul ...
-
... s.lastForWhich({ |item| item[2] <= bar }) ? events[0]; } barAtBeat { |beat = 0, clip = false| var raw, mul; var num, denom, bar, sigStartBeat; if( clip ) { beat = beat.max( 0 ) }; #num, denom, bar, sigStartBeat = this.eventAtBeat(beat); mul ...