Simple delay line with no interpolation. The initial buffer contents is zero.
===Examples===
// Delayed random pulses
play {
// Dust randomly triggers Decay to create an exponential
// decay envelope for the WhiteNoise input source
val z = Decay.ar(Dust.ar(2) * 0.5, 0.3) * WhiteNoise.ar
DelayN.ar(z, 0.2, 0.2) + z // input is mixed with delay via the add input
}
// Recursive application
play {
val z = Decay2.ar(Dust.ar(1) * 0.5, 0.01, 0.1) * Saw.ar(Seq(100, 101)) * 0.5
(z /: (0 until 5)) { (zi, i) =>
DelayN.ar(RLPF.ar(zi, Rand(100, 3000), 0.03), 1, 1.0 / (2 << i)) + zi * 0.5
}
}
- See also
- Companion
- class
Type members
Value members
Concrete methods
- Value Params
- delayTime
Delay time in seconds.
- in
The input signal.
- maxDelayTime
The maximum delay time in seconds. used to initialize the delay buffer size. ''(init-time only)''