DetectIndex

object DetectIndex extends ProductReader[DetectIndex]

A UGen which determines the index in a buffer at which the value matches a given input signal. If the input value is not found, it outputs -1.

For example, if the buffer contains values 5, 3, 2, 8, and the input signal is 3, the output will be 1. If the input is 3.001, the output will be -1. Unlike IndexInBetween , this UGen always searches through the entire buffer until the value is found or the end has been reached (returning -1).

See also
Companion
class
trait Product
trait Mirror
trait ProductReader[DetectIndex]
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def ar(buf: GE, in: GE): DetectIndex
def ir(buf: GE, in: GE): DetectIndex
def kr(buf: GE, in: GE): DetectIndex
def read(in: RefMapIn, key: String, arity: Int): DetectIndex