rsc3/doc/help/ugen/unary-ops/sin-h.help.scrbl
2022-08-28 12:27:01 +02:00

18 lines
276 B
Racket

#lang scribble/manual
@(require (for-label racket))
@title{(sin-h a)}
Sine.
@racketblock[
(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))))
]