Encoding Formats

Supported Formats

The DSP Series 2 card supports both the Raw and .wav file formats for the following encoding formats:

A-law (0x00)

µ-law (0x01)

G.726 32 Kbps (0x02)

32 Kbps OKI ADPCM (0x03)

24 Kbps OKI ADPCM (0x04)

16-bit linear, 11025 Khz (0x05)

µ-law, 11025 Khz (0x06)

A-law, 11025 Khz (0x07)

8-bit linear, 11025 Khz (0x08)

8-bit linear, 8000 Khz (0x09)

16-bit linear, 8000 Khz (0x0A)

* Note that 16 bit uncompressed data requires twice the processor and DSP bandwidth, and will adversely affect channel densities accordingly.

ADPCM

Excel supports Adaptive Differential Pulse Code Modulation (ADPCM) for Playback files. ADPCM is a compression algorithm for voice that records only the difference between samples, and dynamically adjusts the coding scale to accommodate large and small differences.

Because OKI requires fewer resources than G.726, OKI is more suitable for resource-intensive applications, such as speeding up or slowing down voice files. And OKI provides voice quality comparable to G.726.

When you choose either OKI or G.726, the caches on both the DSP and the 8260 chip store the data in that encoding format only. Both the Skip Ahead / Skip Back feature and the Speed Up / Slow Down feature take this file format choice into consideration. The Play File Offset and Length feature does not take this file format choice into consideration. Instead, the host application is responsible for considering that choice.

Compression Benefits

Compared to standard PCM, ADPCM effectively doubles your cache capacity. For two seconds of voice with standard PCM, 16 KB are required. For two seconds of voice with ADPCM, only 8KB are required. Because only half the data is read or written compared to standard PCM, ADPCM also increases performance over the Network File System (NFS) server link.

Compression is performed as the voice is initially recorded, and decompression is performed just before the file is played out. ADPCM does not degrade the performance of the playback or record functionality.