-
... 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 ...
-
... rap', { ^{ | value, domain | value.wrap(domain.min, domain.max).asInteger } }, 'fold', { ^{ | value, domain | value.fold(domain.min, domain.max).asInteger } }, 'values', { ^{ | value, domain | domain[2].detect({ | item | item == value.asInt ...
-
... 'wrap', { ^{ | value, domain | value.wrap(domain.min, domain.max).asFloat } }, 'fold', { ^{ | value, domain | value.fold(domain.min, domain.max).asFloat } }, 'values', { ^{ | value, domain | domain[2].detect( { | item | item == value.asFloa ...
-
... such values: 0: clip; clip everything between the min and max of the 'range' 1: fold; fold (mirror) values outside the range so that they fall into it 2: wrap; wrap around at the borders of the range 3: none; no clipping; values are allowed ...
-
... such values: 0: clip; clip everything between the min and max of the 'range' 1: fold; fold (mirror) values outside the range so that they fall into it 2: wrap; wrap around at the borders of the range 3: none; no clipping; values are allowed ...
-
... al)).isNil.if({ ^inval }, { cur = (cur.perform(opStream.next(inval), nextStep)).fold(streamlo, streamhi); }); }); ^inval; } } Paccumbounce : Paccum { *new { arg lo = -inf, hi = inf, step, length=inf, start; ^super.newCopyArgs(lo, hi, step, ...
-
... al)).isNil.if({ ^inval }, { cur = (cur.perform(opStream.next(inval), nextStep)).fold(streamlo, streamhi); }); }); ^inval; } } Paccumbounce : Paccum { *new { arg lo = -inf, hi = inf, step, length=inf, start; ^super.newCopyArgs(lo, hi, step, ...
-
... 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 ...
-
... tion ); direction = 1 }, \alternate, { case { current > 1 } { current = current.fold(0.0,env.duration); direction = -1; } { current < 0 } { current = current.fold(0.0,env.duration); direction = 1; }; }, \off, { current = current.clip(0.0,en ...
-
... tion ); direction = 1 }, \alternate, { case { current > 1 } { current = current.fold(0.0,env.duration); direction = -1; } { current < 0 } { current = current.fold(0.0,env.duration); direction = 1; }; }, \off, { current = current.clip(0.0,en ...