ADPCM Command-Line Encoder

The ADPCM command-line encoder converts between ADPCM and PCM sound files. PCM input files must be at least 128 samples, and any loops in the file must be at least 128 samples as well. PCM input files must have a sample rate in the range of 1 khz–50 khz. Any PCM input files that do not meet these requirements will be rejected with a detailed error message.

AdpcmEncode [ -b N ]IN.wav OUT.wav
Option Description
-b N Specifies the number of PCM samples to which each ADPCM block in the output file will decode. The value of N can be 32, 64, 128, 256, or 512. The default is 128.
IN.wav Name of the file to convert. If the input file is PCM, it will be encoded to an ADPCM output file. If the input file is ADPCM, it will be decoded to a PCM output file. Input PCM files have the following restrictions.
  • Input PCM files must be mono or stereo.
  • Input PCM files must have a sample rate between 1 kHz and 50 kHz.
  • Input PCM files must have samples that are 8, 16, or 32-bit.
  • Input PCM files can only have a WAVEFORMATEX structure in their format chunk. WAVEFORMATEXTENSIBLE is not supported.
AdpcmEncode only supports input ADPCM files that have the same ADPCM format that is generated by AdpcmEncode.
OUT.wavName of the file that will hold the resulting converted audio.

See also

ADPCM Overview