Classes (extension) | UGens > Multichannel | UGens > Analysis

ArrayMin : ArrayMax : MultiOutUGen : UGen : AbstractFunction : Object
ExtensionExtension

detect the smallest value (and its position) in an array of UGens

Description

Finds the minimum value in an Array of UGens, and outputs the value and the index.

This is for use in a SynthDef. If you simply need to find out which is the minimum in an array of numbers, use the minIndex and/or minItem methods defined for any Collection.

Class Methods

ArrayMin.ar(array)

From superclass: ArrayMax

Arguments:

array

Returns:

# val, index

ArrayMin.kr(array)

From superclass: ArrayMax

Arguments:

array

Returns:

# val, index

Inherited class methods

1 methods from MultiOutUGen ► show
7 methods from UGen ► show
8 methods from Object ► show

Instance Methods

Inherited instance methods

5 methods from MultiOutUGen ► show
93 methods from UGen ► show
159 methods from AbstractFunction ► show
266 methods from Object ► show

Examples

Here we generate a three-channel signal containing some simple test curves, and analyse it to generate a plot:

Here we use the operation as an audio effect: