rsc3/doc/examples/ugen/unary-ops/arc-tan.help.scm

9 lines
203 B
Scheme

;; (arc-tan a)
;; Arc tan.
(let* ((a (line kr -1 1 1 remove-synth))
(b (sub (fdiv (arc-tan a) (/ pi 2)) 1))
(f (mul-add b 900 1600)))
(audition
(out 0 (mul (sin-osc ar f 0) 0.1))))