SuperCollider CLASSES

Wrap

Wrap a signal outside given thresholds.
Inherits from: InRange : UGen : AbstractFunction : Object

Description

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

Class Methods

*ar (in: 0, lo: 0, hi: 1)

From superclass: InRange

*kr (in: 0, lo: 0, hi: 1)

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

s.boot;

{ Wrap.ar(SinOsc.ar(440, 0, 0.2), -0.15, 0.15) }.scope;