-
... iuni scale values from unipolar to bipolar range, can optionally add noise, and clip the uni range at(0, 1). code:: // tests // simplenumber 0.75.unibi 0.75.unibi(0.01); // add noise { 0.75.unibi(0.01); }.dup(5).plot; // arrays [0, 0.5, 1]. ...
-
... iuni scale values from unipolar to bipolar range, can optionally add noise, and clip the uni range at(0, 1). code:: // tests // simplenumber 0.75.unibi 0.75.unibi(0.01); // add noise { 0.75.unibi(0.01); }.dup(5).plot; // arrays [0, 0.5, 1]. ...
-
... cursion from current state. q.zoom = q.zoom?1; q.setZoom = {|ev, val| val = val.clip(0.05, 1.0).round(0.05); // "global ZOOM f. RandomOrbits and Influxes: %\n".postf(val); q.zoom = val; // do external funcs here try{ q.prez.ezs.value = q.zo ...
-
... mic input makes model parameters drift rateU = (rateU.lag(lag) * paramDrift[0]).clip(0.001, 0.2); rateW = (rateW.lag(lag) * paramDrift[1]).clip(0.001, 0.2); b0 = (b0.lag(lag) * paramDrift[2]).clip(0.1, 0.4); b1 = (b1.lag(lag) * paramDrift[3 ...
-
... t each value change 1: linear interpolated noise 2: cubic interpolated noise 3: clip noise -- this is an Udef definition file part of the Unit lib default Udefs set */ Udef( \lfNoise, { |freq = 440, amp = 0.1, type = 0| var sig; URandSeed.i ...
-
... t each value change 1: linear interpolated noise 2: cubic interpolated noise 3: clip noise -- this is an Udef definition file part of the Unit lib default Udefs set */ Udef( \lfNoise, { |freq = 440, amp = 0.1, type = 0| var sig; URandSeed.i ...
-
+ Number { softfold2 { |aNumber = 1.0, range| ^this.fold2( aNumber ).sineclip2( aNumber, range, false ); } softclip2 { |aNumber = 1.0, range| range = range ?? { aNumber / 2 }; if( range > 0 && { aNumber != 0 }) { range = range.clip(1.0e-12, ...
-
+ Number { softfold2 { |aNumber = 1.0, range| ^this.fold2( aNumber ).sineclip2( aNumber, range, false ); } softclip2 { |aNumber = 1.0, range| range = range ?? { aNumber / 2 }; if( range > 0 && { aNumber != 0 }) { range = range.clip(1.0e-12, ...
-
... m| sum = sum + item; }); sum; }), amt ); }, [ \smooth, 0, \window, 0.3, \mode, \clip ], { |f, path| [ \smooth, 0, \window, f.get( \window ), \mode, f.get( \mode ) ] } ) .setSpec( \smooth, ControlSpec( -1, 1, \lin, 0, 0 ) ) .setSpec( \window ...
-
... e = 1; b.move = 0.5; // back to normal reset resets scale and move to defaults. clip sets and gets clipping boolean for he drawFunc (default true). If clip is true the path will be clipped to inside the view. Depricated (all functions are c ...