rsc3/doc/help/ugen/io/sound-in.help.scrbl

28 lines
381 B
Text
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(sound-in channel)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
Read audio from the sound input hardware.
channel - input channel number to read,
indexed from zero, can be mce.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(audition (out 0 (sound-in 0)))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(audition (out 0 (sound-in (mce2 0 1))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(audition (out 0 (sound-in (mce4 0 2 1 3))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00