tabledesign (tool command)

Designs codebooks for the ADPCM compressor

Syntax

tabledesign [-s book_size] [-f frame_size] [-i refine_iter] aifcfile

Description

tabledesign reads an AIFC or AIFF sound file and produces a codebook (written to standard output) that is used by the vadpcm_enc tool. The codebook is a table of prediction coefficients that the coder selects from to optimize sound quality. The procedure used to design the codebooks is based on an adaptive clustering algorithm.

Command Line Options

-s <value>
Is the base 2 log of the number of entries in the table. Currently up to eight entries are supported, so the value can range from 0 to 3. The default value for this parameter is 2, which gives 4 entries. This seems to be adequate for most sounds.

-f <value>
Is the size of the frames (in samples) used to estimate predictors. Because the ADPCM encoder operates on frames of 16 samples this number should be a multiple of 16. The default value is 16. The main benefit of increasing the frame size is that design time is reduced.

-i <value>
Is the number of iterations used in the refinement step of the clustering algorithm. The default value is 2. Increasing this parameter will increase design time with some possible improvement in quality. The default is adequate for most sounds.

See Also

vadpcm_enc

Revision History

1999/04/30 Changed Format