rsc3/doc/help/ugen/binary-ops/fdiv.help.scrbl

19 lines
284 B
Text
Raw Permalink Normal View History

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