rsc3/doc/help/ugen/io/sound-in.help.scrbl
2022-08-28 12:27:01 +02:00

27 lines
381 B
Racket

#lang scribble/manual
@(require (for-label racket))
@title{(sound-in channel)}
Read audio from the sound input hardware.
channel - input channel number to read,
indexed from zero, can be mce.
@racketblock[
(audition (out 0 (sound-in 0)))
]
@racketblock[
(audition (out 0 (sound-in (mce2 0 1))))
]
@racketblock[
(audition (out 0 (sound-in (mce4 0 2 1 3))))
]