vqdecode decodes the input channel, channelfile, (CHN format) by looking up each channel index in the input codebook, codebookfile, (CBK format) and outputting the corresponding codeword to the output datfile (DAT format). The channel is produced with vqencode(1) , and the channel symbols are assumed to range from 0 to N-1, where N is the number of codewords in codebookfile. The VQ codebook, codebookfile, can be trained using gla(1) .
A. Gersho and R. Gray, Vector Quantization and Signal Compression. Norwell, MA: Kluwer Academic Publishers, 1992.