rsc3/doc/help/ugen/composite/mix.help.scrbl
2022-08-28 12:27:01 +02:00

24 lines
427 B
Racket

#lang scribble/manual
@(require (for-label racket))
@title{(mix UGen)}
Force multiple channel expansion and sum signals.
@racketblock[
(let ((f (make-mce (list 600.2 622.0 641.3 677.7))))
(audition (out 0 (mul (mix (f-sin-osc ar f 0)) 0.1))))
]
Expansion nests.
@racketblock[
(let ((l (f-sin-osc ar (mce2 100 500) 0))
(r (f-sin-osc ar (mce2 5000 501) 0)))
(audition (out 0 (mul 0.05 (mix (mce2 l r))))))
]