inchSignal I/O:Signal Inputinchinch
Reads from numbered channels in an external audio signal or stream.
Description
Reads from numbered channels in an external audio signal or stream.
Syntaxain1[, ...] inch kchan1[,...]Performanceain1, ... - 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.
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.
Example of the inch opcode.See alsoSignal InputCreditsAuthor: &namejohn;University of Bath/Codemist Ltd.Bath, UKMay 2000New in Csound Version 4.07Multiple arguments from version 5.13