13 lines
259 B
Racket
13 lines
259 B
Racket
#lang scribble/manual
|
|
@(require (for-label racket))
|
|
|
|
@title{(cos-h a)}
|
|
|
|
Cosine.
|
|
|
|
(let* ((a (line kr (- pi) pi 1 remove-synth))
|
|
(b (sub (fdiv (cos-h a) (/ pi 2)) 1))
|
|
(f (mul-add b 900 1600)))
|
|
(audition
|
|
(out 0 (mul (sin-osc ar f 0) 0.1))))
|
|
|