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

18 lines
284 B
Racket

#lang scribble/manual
@(require (for-label racket))
@title{(fdiv a b)}
Division, written '/' in sclang.
Division can be tricky with signals because of division by zero.
@racketblock[
(audition
(out 0 (fdiv (mul (pink-noise ar) 0.1)
(mul (f-sin-osc kr 10 0.5) 0.75))))
]