inch
Reads from numbered channels in an external audio signal or stream.
Syntax
Performance
ain1, ... - input audio signals
kchan1,... - channel numbers
inch reads from numbered channels determined by the corresponding kchan into the associated ain. If the command-line -i flag is set, sound is read continuously from the audio input stream (e.g. stdin or a soundfile). inch can also be used to receive audio in realtime from the audio interface using -iadc.
Note
The highest number for kchan available for use with inch depends on nchnls_i. If kchan is greater than nchnls_i, ain will be silent. Note that inch will give a warning but not an error in this case.
Examples
Here is an example of the inch opcode. It uses the file inch.csd.
See also
Credits
Author: John ffitch
University of Bath/Codemist Ltd.
Bath, UK
May 2000
New in Csound Version 4.07
Multiple arguments from version 5.13