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

16 lines
196 B
Text
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(Mod a b)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
Modulo, written % in sclang. outputs a modulo b.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(audition
(out 0 (u:mod (f-sin-osc ar 100 4) 1)))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00