Speex Codec - Audio Speech Compression
Sampling Rate: Narrowband (8 kHz), wideband (16 kHz), and ultra-wideband (32 kHz) compression in the same bitstream.
AVAILABILITY
ADT Speex is available on the following Platforms: Other configurations are available upon request.
| Product Number | Platform |
| ADT_speex_c64xp | TI TMS320C64x+ |
| ADT_speex_c674x | TI TMS320C674x |
DESCRIPTION
The Speex codec is a flexible speech compression algorithm that can be used in a wide variety of voice applications including Voice Over IP (VoIP).
The following features are included in the Speex codec. These features can be configured by the
host application.
Data sheet: .pdf
FEATURES
- Perceptual Enhancement
- Packet loss concealment
- Constant, Average, and Variable bitrate operation
- Configurable complexity AND quality enables user to tradeoff between CPU utilization and voice quality
- Wide variety of user-specified bit rates
- Voice Activity Detection (VAD)
- Discontinuous Transmission (DTX)
SPECIFICATIONS
MIPS (Peak) CPU Resource and Memory Resource Requirements
TI TMS320C6000C674x
MEMORY REQUIREMENTSAll Memory usage is given in units of byte.
| Software | Program Memory | Data Mem | Tables | Scratch |
| Encode | 170K | 1508 | 19256 | 64080 |
| Decode | 32080 |
- PER CHANNEL
All Memory usage is given in units of byte.
| Mode | Encoder | Decoder |
| Narrowband | 6461 | 5773 |
| Wideband | 7709 | 6840 |
| Ultra-Wideband | 9117 | 8067 |
C674x
CPU UTILIZATIONNarrowband Mode CPU Requirements (MIPS = MHz)
| Current | Target | |||||
| Quality | Complexity | Bit Rate | Encode MIPS | Decode MIPS | Encode MIPS | Decode MIPS |
| 10 | 10 | 24600 | 175 | 8.3 | 58 | 3 |
| 10 | 4 | 24600 | 69 | 8.3 | 23 | 3 |
| 4 | 10 | 8000 | 75 | 7.5 | 25 | 3 |
| 4 | 4 | 8000 | 42 | 7.5 | 14 | 3 |
Wideband Mode CPU Requirements (MIPS = MHz)
| Current | Target | |||||
| Quality | Complexity | Bit Rate | Encode MIPS | Decode MIPS | Encode MIPS | Decode MIPS |
| 10 | 10 | 42400 | 363 | 14 | 121 | 4 |
| 10 | 4 | 42400 | 156 | 14 | 52 | 4 |
| 4 | 10 | 12800 | 129 | 14 | 43 | 4 |
| 4 | 4 | 12800 | 71 | 14 | 23 | 4 |
Ultra-Wideband Mode CPU Requirements (MIPS = MHz)
| Current | Target | |||||
| Quality | Complexity | Bit Rate | Encode MIPS | Decode MIPS | Encode MIPS | Decode MIPS |
| 10 | 10 | 44000 | 375 | 23 | 125 | 8 |
| 10 | 4 | 44000 | 167 | 23 | 55 | 8 |
| 4 | 10 | 22375 | 164 | 22 | 55 | 8 |
| 4 | 4 | 22375 | 85 | 22 | 28 | 8 |
API function call summary
SPEEX_ADT_initEncoder()
SPEEX_ADT_initDecoder()
SPEEX_ADT_encode()
SPEEX_ADT_decode()
SPEEX_ADT_deleteEncoder()
SPEEX_ADT_deleteDecoder()
SPEEX_ADT_getStatus()