rsc3/doc/help/ugen/unary-ops/sin-h.help.scrbl

19 lines
276 B
Text
Raw Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(sin-h a)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
Sine.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(let* ((a (line kr (- pi) pi 1 remove-synth))
(b (sub (fdiv (sin-h a) (/ pi 2)) 1))
(f (mul-add b 900 1600)))
(audition
(out 0 (mul (sin-osc ar f 0) 0.1))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00