rsc3/doc/help/ugen/delays/delay-n.help.scrbl

26 lines
636 B
Text
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(delay-n in maxDelayTime delayTime)}
(delay-l in maxDelayTime delayTime)
(delay-c in maxDelayTime delayTime)
Simple delay line. There are three forms, delay-n uses no
interpolation, delay-l uses linear interpolation, delay-c uses cubic
interpolation. The maximum delay length is set at initialization
time and cannot be extended.
dust randomly triggers decay to create an exponential decay
envelope for the white-noise input source.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(let ((z (mul (decay (dust ar 1) 0.3)
(white-noise ar))))
(audition
(out 0 (add (delay-n z 0.2 0.2) z))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00