N64® Functions Menu

al - Audio Library Functions
gDP - DP GBI Macros
gdSP - General GBI Macros
gSP - SP GBI Macros
gt - Turbo Microcode RDP
gu - Graphics Utilities
Math - Math Functions
nuSys - NuSystem
os - N64 Operating System
sp - Sprite Library Functions
uh - Host to Target IO
64DD - N64 Disk Drive

Nintendo® Confidential

   

tabledesign

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

What This Tool Does
It designs codebooks for the ADPCM compressor. Specifically, it 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


Nintendo® Confidential

Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.

Copyright © 1998
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last updated January 1998