final case classWrap(rate: Rate, in: GE, lo: GE = 0.0f, hi: GE = 1.0f) extends SingleOut with Product with Serializable
A UGen that constrains a signal to a given range, by "wrapping" values outside
the range. This is similar to the wrap2 binary operator but permits both a
lower range value lo and an upper range value hi .
An input value greater than or equal to hi will be wrapped back to
(in - hi) % (hi - lo) + lo . An input value less than lo will be wrapped
back to hi - (lo - in) % (hi - lo) .
A UGen that constrains a signal to a given range, by "wrapping" values outside the range. This is similar to the
wrap2
binary operator but permits both a lower range valuelo
and an upper range valuehi
.An input value greater than or equal to
hi
will be wrapped back to(in - hi) % (hi - lo) + lo
. An input value less thanlo
will be wrapped back tohi - (lo - in) % (hi - lo)
.input signal to constrain
lower margin of wrapping (inclusive)
upper margin of wrapping (exclusive)
Clip
Fold