Wrap:
Filter:
Classes | UGens > Maths

Wrap : InRange : UGen : AbstractFunction : Object

Wrap a signal outside given thresholds.
Source: Trig.sc

Description

This differs from the BinaryOpUGen wrap2 in that it allows one to set both low and high thresholds.

Class Methods

Wrap.ar(in: 0.0, lo: 0.0, hi: 1.0)

From superclass: InRange

Wrap.kr(in: 0.0, lo: 0.0, hi: 1.0)

From superclass: InRange

Arguments:

in

Signal to be wrapped.

lo

Low threshold of wrapping.

hi

High threshold of wrapping.

Inherited class methods

Instance Methods

Inherited instance methods

Examples