K2A

object K2A extends ProductReader[K2A]

A converter UGen that takes a control-rate input and produces an audio-rate output by means of linear interpolation. The current control input value is always reached in at the beginning of the subsequent control block. A special case is the initialization which begins directly at the first control input value (therefore, the first control block of the audio-rate output is is always constant.)

For example, if the block size is 64, and the first three input values are -0.5, 0.6, 0.3, then the output signal will be 65 samples of value -0.5, followed by a linear ramp of 64 samples towards 0.6, followed by a linear ramp of 64 samples to towards 0.3.

===Examples===

// compare control and audio rate
play {
 val a = K2A.ar(WhiteNoise.kr(0.3))
 val b =        WhiteNoise.ar(0.3)
 val c = LFPulse.ar(1, Seq(0, 0.5))
 c * Seq(a, b)
}
See also
Companion
class
trait Product
trait Mirror
trait ProductReader[K2A]
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): K2A
Value Params
in

control-rate signal to convert

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