rsc3/doc/help/ugen/information/num-input-buses.help.scrbl
2022-08-28 12:27:01 +02:00

17 lines
337 B
Racket

#lang scribble/manual
@(require (for-label racket))
@title{num-input-buses}
The number of audio buses allocated to input. input buses follow
output buses which begin at zero.
@racketblock[
(let ((bus (add num-output-buses num-input-buses)))
(audition (mrg2 (out 0 (in 1 ar bus))
(out bus (mul (sin-osc ar 440 0) 0.1)))))
]