-
... Noise3.kr(lfSpeed ! 2, lfDepth*[-0.26 , 0.382, -0.62, 1].lag(0.2)) ).midiratio).clip(20, 17000), (1/reso).lag(0.1), 0.6 ).clump(2).sum, 0.7) * (amp * 2)).softclip; }); ); // some strobing Ndef(\moogSing)[5] = \filter -> { arg in, speed = 4, ...
-
... ; }); }); switch(ampLinesPopup.value, 0, { //off ampLinesCursor= ampLinesCursor.clip(0, 1); }, 1, { //on ampLinesCursor= ampLinesCursor.wrap(0, 1); }, 2, { //palindrome if(ampLinesCursor>1, { ampLinesButtonLeft.value= 1; ampLinesButtonRight ...
-
... rent,bounds); plot.drawFunc = {|view| var mult = view.bounds.extent.asArray; // clipping into the boundingbox Pen.addRect( view.bounds.moveTo( 0, 0 )); Pen.clip; // draw Background Pen.color = background; Pen.addRect( view.bounds.moveTo( 0, ...
-
... d routes them directly to the point parameter it is connected to. No scaling or clipping is applied, so the user has to make sure that the bus contains data within the allowed input range. bus_x: the number of the control bus for x(usually ...
-
... ; }); }); switch(ampLinesPopup.value, 0, { //off ampLinesCursor= ampLinesCursor.clip(0, 1); }, 1, { //on ampLinesCursor= ampLinesCursor.wrap(0, 1); }, 2, { //palindrome if(ampLinesCursor>1, { ampLinesButtonLeft.value= 1; ampLinesButtonRight ...
-
... i: 1, dstlo: filterLo, dsthi: filterHi), rq: rq, mul: midPreamp); mid = mid.softclip/midPreamp.softclip; mid = mid * (1 - balance).clip(0, 1) * env; side = RLPF.ar( in: side, freq: LinExp.ar( in: env, srclo: 0, srchi: 1, dstlo: filterHi, ds ...
-
... num=0, startPos=0, rate=1, dur=0.1, trimDB=0| var sig, env; startPos = startPos.clip(0.0, 1.0); env = EnvGen.ar(Env.triangle(dur), doneAction: Done.freeSelf); sig = PlayBuf.ar(1, bufnum, rate: BufRateScale.kr(bufnum) * rate, startPos: BufFr ...
-
... ode | switch (mode, 'free', { ^{ | value, domain | this.asOssiaVec(value) } }, 'clip', { ^{ | value, domain | this.asOssiaVec(value.collect( { | item, i | item.clip(domain.min[i], domain.max[i]); } )) }; }, 'low', { ^{ | value, domain | thi ...
-
... l }; if (spec.isNil or: spec == \none) { ^obj.set(paramName, (currVal + relVal).clip(0, 1)); }; currValNorm = spec.unmap(currVal); obj.set(paramName, spec.map(currValNorm + relVal)); } *getSpec { |obj, paramName| ^obj.getSpec(paramName); } ...
-
... andomized amp envelope up and down between 0.005 and 0.03 mallet + (sing_switch.clip(0, 1) * sing); }.play ) // breakdown #6 // combining input and DynKlank // using only 3 filter freqs for a simple demo ( { arg sing_switch = 0; var snd, in ...