FoldIndex:
Filter:
Classes | UGens > Buffer

FoldIndex : 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 folded into the valid range.

Class Methods

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

From superclass: Index

FoldIndex.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