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