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

10 lines
204 B
Scheme
Raw Normal View History

2022-08-24 13:53:18 +00:00
;; (tan-h a)
;; Tangent.
(let* ((a (line kr (- pi) pi 1 remove-synth))
(b (sub (fdiv (tan-h a) (/ pi 2)) 1))
(f (mul-add b 900 1600)))
(audition
(out 0 (mul (sin-osc ar f 0) 0.1))))