rsc3/doc/help/ugen/io/x-out.help.scrbl

20 lines
415 B
Text
Raw Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(x-out buffer-index xfade inputs)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
Send signal to a bus, crossfading with existing contents.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(let ((pair (lambda (a b) (mul (sin-osc ar (mce2 a b) 0) 0.1))))
(audition
(mrg4 (out 0 (pair 220 221))
(x-out 0 (mouse-x kr 0 1 0 0.1) (pair 330 331))
(x-out 0 (mouse-y kr 0 1 0 0.1) (pair 440 441))
(out 0 (pair 120 121)))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00