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

18 lines
261 B
Racket

#lang scribble/manual
@(require (for-label racket))
@title{(squared a)}
Square.
@racketblock[
(let* ((a (line ar -2 2 3 remove-synth))
(b (squared a))
(f (mul-add (mce2 a b) 600 900)))
(audition
(out 0 (mul (sin-osc ar f 0) 0.1))))
]