LastValue

object LastValue extends ProductReader[LastValue]

A sample-and-hold UGen that outputs the last value before the input changed more than a threshold. Change is based on the absolute of the differentiation of input signal.

===Examples===

// distortion
play {
 val in     = SinOsc.ar(262)
 val thresh = MouseX.kr(1.0e-3, 2.0, 1, lag = 1)
 thresh.poll(5, "thresh")
 LeakDC.ar(LastValue.ar(in, thresh)) * 0.1
}
See also
Companion
class
trait Product
trait Mirror
trait ProductReader[LastValue]
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(in: GE, thresh: GE): LastValue
Value Params
in

input signal to analyze and filter

thresh

threshold below which the input sign

def kr(in: GE, thresh: GE): LastValue
Value Params
in

input signal to analyze and filter

thresh

threshold below which the input sign

def read(in: RefMapIn, key: String, arity: Int): LastValue