LagIn

object LagIn extends ProductReader[LagIn]

A UGen that reads a signal from a control bus and applies a lag filter to it. This is essentially the same as Lag.kr(In.kr(...), time) .

===Examples===

// portamento
play {
 val c = Bus.control(s)
 c.set(30)   // initial midi-pitch

 play {
   val freq = LagIn.kr(c.index, time = 1).midiCps
   SinOsc.ar(freq) * AmpComp.kr(freq) * 0.1
 }

 c.set(70)
 c.set(100)
}
See also
Companion
class
trait Product
trait Mirror
trait ProductReader[LagIn]
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 kr(bus: GE, numChannels: Int, time: GE): LagIn
Value Params
bus

index of the bus to read from. When numChannels is greater than one, the other channels or read from the adjacent indices.

numChannels

number of channels to read

time

60 dB lag time in seconds.

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