-
... hods Undocumented instance methods . expexp ( inMin , inMax , outMin , outMax , clip: 'minmax' ) . explin ( inMin , inMax , outMin , outMax , clip: 'minmax' ) . linexp ( inMin , inMax , outMin , outMax , clip: 'minmax' ) . linlin ( inMin , ...
-
... //cv for resonance addition filterA = VadimFilter.ar( (inA+(curveB * inB)).clip(-1, 1), //input ((freqA*freqMul)+freqAdd).clip(1, 20000), //freq ((resA*resMul)+resAdd).clip(0, 1) //resonance , 0); //filter type, 0 is LPF2, 1 i ...
-
+ Point{ constrain{ |rect| if ( rect.contains( this ).not, { x = x.clip( rect.left, rect.left + rect.width ); y = y.clip( rect.top, rect.left + rect.height ); }); } constrainCopy{ |rect| var point = this.copy; if ( rect.contains( this ).not ...
-
... ange.asSpec; zoomedSpec = zoomedRange.asSpec; } modelToDisplay { arg value; var clipped, v, u; v = value.clip(*zoomedRange); clipped = v != value; if(clipped, { ^nil }); u = zoomedSpec.unmap(v); ^displaySpec.map(u) } displayToModel { arg va ...
-
... Def(\mix1x1, 1, 1, fader: SynthDef("mixers/Mxb1x1", { arg busin, busout, level, clip = 2; var in, bad, badEG; in = In.ar(busin, 1) * level; // On server quit, `clip` may be set to 0 before processing is finished // In that case, spurious ou ...
-
/* \clip_scale Creates an UMap for scaling a value to another range, with clipping and wrapping functionality. input: the value upon which the scaling is applied (this can be another UMap as well) fromRange: the used range of the input valu ...
-
/* \clip_scale Creates an UMap for scaling a value to another range, with clipping and wrapping functionality. input: the value upon which the scaling is applied (this can be another UMap as well) fromRange: the used range of the input valu ...
-
... w{ |numboids| ^super.new.initagents(numboids); } initagents{ |n| // clip agentcount to range 1.-1000. myagentcount = n.clip(1,1000); agents = Array.new(n); for(0,myagentcount-1,{ |i| // start with random position/ ...
-
... ks.do { |tr| tr[\points] = tr[\points].collect { |pt| [(pt[0] / dur.max(0.001)).clip(0.0, 1.0), pt[1], pt[2], pt[3]] }; }; ("SPEAR frame txt import parsed: partials=" ++ partialsCount ++ " frames=" ++ frameCount ++ " dur=" ++ dur).postln; r ...
-
clip2 bilateral clipping BinaryOperator clip2(a, b) a clip2: b a.clip2(b) clips input wave a to +/- b Server .internal.boot; { FSinOsc .ar(400).clip2(0.2) }.scope; // clipping distortion { FSinOsc .ar(1000).clip2( Line .kr(0,1,8)) }.scope;