rsc3/doc/help/ugen/triggers/t-delay.help.scrbl

23 lines
487 B
Text
Raw Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(t-delay trigger delayTime)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
Delays a trigger by a given time. Any triggers which arrive in the
time between an input trigger and its delayed output, are ignored.
trigger - input trigger signal.
delayTime - delay time in seconds.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(let* ((s (mul (sin-osc ar 440 0) 0.1))
(z (impulse ar 2 0))
(l (mul z 0.1))
(r (mul (toggle-ff (t-delay z 0.5)) s)))
(audition (out 0 (mce2 l r))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00