rsc3/doc/help/ugen/composite/mix.help.scrbl

25 lines
427 B
Text
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(mix UGen)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
Force multiple channel expansion and sum signals.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(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))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00
Expansion nests.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(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))))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00