.TH CHAN 1carl CARL
.SH NAME
chan \- multiplexed sound signal processing with parallel pipes
.SH SYNOPSIS
\f3chan\f1 number_of_parallel_channels process_1 ... process_N
< floatsams > floatsams
.SH DESCRIPTION
\f3chan\f1
provides multichannel signal processing by demultiplexing its standard
input, feeding each channel (through pipes) to one of several monophonic 
processing pipelines which run as parallel processes, remultiplexing the 
outputs of these processes, and writing the resulting multiplexed data stream
on the standard output. 
The
.I input
and
.I output
data streams normally consist of binary, floating-point sample numbers.
If the output is connected to a terminal, ASCII data is produced.
A typical command form:
.sp
.ft TY
cmusic stereo.sc | chan 2 "comb .6 1000" "comb .7 1131" > output
.ft R
.sp
takes the (multiplexed stereo) output of cmusic,
separates the 2 channels, applies 
"comb .6 1000" to the first channel, and "comb .7 1131" to the second, 
then remultiplexes the signal and collects it on file output.
.PP
If only one process is specified for multiple channels, it is applied in 
parallel to each channel.
The number of channels must be 2, 3 or 4.  The channel processes must
be enclosed in quote (") marks, and may themselves be pipes, such as
.sp
.ft TY
cmusic quad.sc | chan 4 "comb .6 2131 | comb .6 1000" > output
.ft R
.SH AUTHOR
F. R. Moore
.SH SEE ALSO
para(1carl), wire(1carl), getfloat(3carl)
