-
... 'free' } *clip { ^'clip' } *low { ^'low' } *high { ^'high' } *wrap { ^'wrap' } *fold { ^'fold' } }
-
... ).not.binaryValue; n.collect({ |i| (i.linlin(0,n-close,0,2 * periods) + phase).fold(-1,1).linlin(-1,1,*range); }); }, [ \range, [0.0,1.0], \periods, 1, \phase, 0, \close, true ], { |f, obj| [ \range, if( obj.minItem == obj.maxItem ) { [0,1 ...
-
... 5, 20); //length, theta //--loop w.draw{ cnt= cnt+0.3; //speed lplot.theta= cnt.fold(-90, 90); lsys.reset; lsys.next; lsys.next; lsys.next; lsys.next; //--render Pen.strokeColor= Color.white; Pen.translate(width*0.5, height*0.8); lplot.draw ...
-
... 5, 20); //length, theta //--loop w.draw{ cnt= cnt+0.3; //speed lplot.theta= cnt.fold(-90, 90); lsys.reset; lsys.next; lsys.next; lsys.next; lsys.next; //--render Pen.strokeColor= Color.white; Pen.translate(width*0.5, height*0.8); lplot.draw ...
-
... gnore values outside fromRange 'clip' (default): clip values outside fromRange 'fold': fold values outside fromRange 'wrap': wrap around values outside fromRange 'none': no clipping applied (values can go outside toRange) clipSoftness: soft ...
-
... .0 1. `floor`, `ceil`, `frac`, `trunc`, `round`, `roundUp`, `mod`, `wrap`, and `fold` now return `Rational` values. 2. Zero denominators, division by zero, reciprocal of zero, and terms that are not numbers now throw `Error`. 3. Use `.asInt ...
-
PFold: Filter: Description Class methods new Inherited class methods Instance methods Inherited instance methods Examples Classes (extension) | Streams-Patterns-Events > UGenPatterns'>UGenPatterns > UGenPatterns>Modifiers'>Modifiers PFold E ...
-
... ; direction = -1; }, \alternate, { case { current > ttime } { current = current.fold(0.0, ttime); direction = -1; } { current < 0 } { current = current.fold(0.0, ttime); direction = 1; }; }, \back_at_end, { current = current.clip(0.0, ttime ...
-
... .0 ); direction = -1; }, \alternate, { case { current > 1 } { current = current.fold(0.0,1.0); direction = -1; } { current < 0 } { current = current.fold(0.0,1.0); direction = 1; }; }, \off, { current = current.clip(0.0,1.0); } ); }; }.r; } ...
-
... ime nextPrime isPrime indexOfPrime Integer Math * + - modSeaside clip factorial fold log2Ceil wrap Range Limiting clip fold wrap Misc exit generate isInteger isAlt isCaps isCmd isCtrl isFun isHelp isNumPad isShift pidRunning Ambisonic Toolk ...