-
... l clipping { b when a > b, -b when a < -b, else a } wrap2 .. bilateral wrapping fold2 .. bilateral folding excess .. residual of clipping a - clip2(a,b) (36)
-
... LFNoise1, borders are set with mulclock, addclock, muldur and adddur. LFNoise1 folds to positiv with .abs, offset is added after. lfo1 and lfo2 are the speeds of LFNoise1. /// For more silent parts approach addclock to zero or make it n ...
-
... ( var melodies = ( lowMelody: Pseries (4, Prand (#[-2, -1, 1, 2], inf ), inf ).fold(-7, 11), highMelody: Pseries (14, Prand (#[-3, -2, 2, 3], inf ), inf ).fold(7, 18) ); p = Pbind ( \degree , Pnsym1 ( Pwrand (#[lowMelody, highMelody], [0.7 ...
-
... zeroOrderHold.(((mapIndex + 1).round(2) - 1) * wtSize); var mapXfade = mapIndex.fold(0, 1); var rowSize = wtSize * numTables; var lagPos = if(#[audio, control].includes(wtPos.rate)) { Lag.perform(wtPos.methodSelectorForRate, wtPos, 0.1) } { ...
-
... im[i]}, { redObj.vel.put(i, redObj.vel[i]*(1-damping).neg); redObj.loc.put(i, l.fold(redObj.size, dim[i]-redObj.size)); }); } } surroundingLocations {|obj| ^surroundings.collect{|arr| arr+obj.loc}.reject{|vec| vec.any{|v, i| v<0 or:{v>dim[i ...
-
... . Examples of n-ary operators are: blend, linlin, linexp, explin, expexp, clip, fold, wrap. Class Methods Pnaryop. new ( operator , a , arglist ) Arguments: operator operator to be applied a a pattern (or compatible pattern input) arglist a ...
-
... alpha / 2; invHalfAlpha = (0.5pi - halfAlpha); cornerFade = (pos - halfAlpha) .fold( -0.5pi, 0.5pi ) .linlin( invHalfAlpha.neg, invHalfAlpha, 1, 0, \minmax ); // focused (0/1) focused = pos.wrap( -0.5pi, 1.5pi ) .inRange( 0.5pi + alpha, 1. ...
-
... amplitudes ); // apply tapering if( taper ) { amplitudes = amplitudes * (1..n).fold(0,(n/2) + 0.5) .linlin(0, (n+1) * tapering, -0.5pi, 0.5pi ) .sin .linlin(-1,1,0,1); }; if( ampmask.size > 0 ) { amplitudes = amplitudes * ampmask }; amplit ...
-
... g Inherited class methods Instance methods asArray array array at clipAt wrapAt foldAt put clipPut wrapPut foldPut add addFirst insert boundedInsert pop grow removeAt fill do reverseDo pairsDo copyRange copySeries putSeries reverse scramble ...
-
... ven delay and decay times. sc_wrap1(x) Wrap x around ±1, wrapping only once. sc_fold1(x) Fold x around ±1, folding only once. Binary operators sc_wrap(in, lo, hi [, range]) sc_fold(in, lo, hi [, range [, range2]]) sc_pow(a, b) Compute pow(a ...