-
... 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 ...
-
... ect( { | item, i | item.wrap(domain.min[i], domain.max[i]) } ).asArray ; }; }, 'fold', { ^{ | value, domain | value.collect( { | item, i | item.fold(domain.min[i], domain.max[i]) } ).asArray; }; }, 'values', { ^{ | value, domain | domain[2] ...
-
... t the last known value \clip: limits the values to the outer bounds of toRange \fold: mirrors values that are out of toRange back in \wrap: wraps values around toRange \none: no clipping; values outside of fromRange will be extrapolated out ...
-
/* Wavefolding as in (input).fold(-1, 1), but it's rounded out instead of a sharp switch at input amplitudes of 1. It uses y=sin(x) as a transfer function, so I included a phase offset (which makes a full loop around the circle as it goes f ...
-
... t the last known value \clip: limits the values to the outer bounds of toRange \fold: mirrors values that are out of toRange back in \wrap: wraps values around toRange \none: no clipping; values outside of fromRange will be extrapolated out ...
-
... ethods new Inherited class methods Instance methods object key nudge useWrap useFold useClip useSin useTan useBipow getFunc map2BiFunc nudgeFunc borderFunc unmapFunc setFunc internal variables and methods unival bival state Inherited instan ...
-
... ); direction = -1; }, \alternate, { case { current >= size} { current = current.fold(0,size-1); direction = -1; } { current < 0 } { current = current.fold(0,size-1); direction = 1; }; }, \random, { current = size.rand; }, \off, { current = ...
-
... ; 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); direction = 1; ...