rsc3/doc/help/ugen/binary-ops/mul.help.scm

21 lines
375 B
Scheme
Raw Normal View History

2022-08-24 13:53:18 +00:00
;; (mul a b)
;; multiplication, written '*' in sclang.
(audition
(out 0 (mul (sin-osc ar 440 0) 0.5)))
;; Creates a beating effect (subaudio rate).
(audition
(out 0 (mul3 (f-sin-osc kr 10 0)
(pink-noise ar)
0.5)))
;; Ring modulation.
(audition
(out 0 (mul3 (sin-osc ar (x-line kr 100 1001 10 do-nothing) 0)
(sync-saw ar 100 200)
0.25)))