WrapIndex:
Filter:
Classes | UGens > Buffer

WrapIndex : Index : PureUGen : UGen : AbstractFunction : Object

Index into a table with a signal.
Source: Osc.sc

Description

The input signal value is truncated to an integer value and used as an index into the table. Out-of-range index values are wrapped cyclically to the valid range.

Class Methods

WrapIndex.ar(bufnum, in: 0.0, mul: 1.0, add: 0.0)

From superclass: Index

WrapIndex.kr(bufnum, in: 0.0, mul: 1.0, add: 0.0)

From superclass: Index

Arguments:

bufnum

Index of the buffer.

in

The input signal.

mul

Output will be multiplied by this value.

add

This value will be added to the output.

Inherited class methods

Instance Methods

Inherited instance methods

Examples