2022-08-24 13:53:18 +00:00
|
|
|
#lang scribble/manual
|
|
|
|
@(require (for-label racket))
|
|
|
|
|
|
|
|
@title{(replace-out bufferindex inputs)}
|
|
|
|
|
2022-08-28 10:27:01 +00:00
|
|
|
|
2022-08-24 13:53:18 +00:00
|
|
|
Send signal to a bus, overwrite existing signal.
|
|
|
|
|
2022-08-28 10:27:01 +00:00
|
|
|
|
|
|
|
@racketblock[
|
2022-08-24 13:53:18 +00:00
|
|
|
(audition
|
|
|
|
(mrg3 (out 0 (mul (sin-osc ar (mce2 330 331) 0) 0.1))
|
|
|
|
(replace-out 0 (mul (sin-osc ar (mce2 880 881) 0) 0.1))
|
|
|
|
(out 0 (mul (sin-osc ar (mce2 120 121) 0) 0.1))))
|
2022-08-28 10:27:01 +00:00
|
|
|
]
|
2022-08-24 13:53:18 +00:00
|
|
|
|
|
|
|
Compare to:
|
|
|
|
|
2022-08-28 10:27:01 +00:00
|
|
|
|
|
|
|
@racketblock[
|
2022-08-24 13:53:18 +00:00
|
|
|
(audition
|
|
|
|
(mrg3 (out 0 (mul (sin-osc ar (mce2 330 331) 0) 0.1))
|
|
|
|
(out 0 (mul (sin-osc ar (mce2 880 881) 0) 0.1))
|
|
|
|
(out 0 (mul (sin-osc ar (mce2 120 121) 0) 0.1))))
|
2022-08-28 10:27:01 +00:00
|
|
|
]
|
|
|
|
|
2022-08-24 13:53:18 +00:00
|
|
|
|