rsc3/doc/help/ugen/io/lag-in.help.scrbl
2022-08-28 12:27:01 +02:00

23 lines
311 B
Racket

#lang scribble/manual
@(require (for-label racket))
@title{(lag-in num-channels bus lag)}
Set bus 10.
@racketblock[
(with-sc3
(lambda (fd)
(send fd (c-set1 10 (random 200 8000)))))
]
Smooth a control rate input signal.
@racketblock[
(audition (out 0 (mul (sin-osc ar (lag-in 1 10 1) 0) 0.1)))
]