input signal to constrain
lower margin of wrapping (inclusive)
upper margin of wrapping (exclusive)
input signal to constrain
lower margin of wrapping (inclusive)
upper margin of wrapping (exclusive)
input signal to constrain
lower margin of wrapping (inclusive)
upper margin of wrapping (exclusive)
A UGen that constrains a signal to a given range, by "wrapping" values outside the range. This is similar to the
wrap2binary operator but permits both a lower range valueloand an upper range valuehi.An input value greater than or equal to
hiwill be wrapped back to(in - hi) % (hi - lo) + lo. An input value less thanlowill be wrapped back tohi - (lo - in) % (hi - lo).Examples
Clip
Fold