Professional Documents
Culture Documents
1998 - 12 - 24 - Odessa - 1997 - 09 Speech Coder Realization, Based On DSP ADSP-2181
1998 - 12 - 24 - Odessa - 1997 - 09 Speech Coder Realization, Based On DSP ADSP-2181
Proc. of the 3-rd Int. Conf. on Radiocommunication, Audio and Television Broadcasting, Ukraine, Odessa, 1997 Sep. 9-12, P. 431 — 433
2
indexes and LTP coefficients indexes (according quantization one with its codebooks), obtained
for each sub-frame, are product of encoder too.
To determine exiting signal the stochastic codebook vector search with non-correlation
rest of linear prediction, used as estimation signal is used. Optimal stochastic exiting vectors
indexes and gain coefficients indexes (according quantization one with its codebook), obtained
for each sub-frame, are product of encoder too.
Starting complexity of used model was approximately 53 MIPS.
Main characteristics of real-time realization
At the first, we have obtained results corresponding to very large required processing
complexity of the model. The model has required up to 53 MIPS (ADSP-2181 has 33 MIPS with
30 ns maximum instruction rate). Processing of one 20 ms speech frame has required time up to
32 ms, and real-time realization has not been possible. Due to the powerful designing tools the
most critical fragments of algorithm have been determined and changed. Model has been revised
and optimized. At the same case, the speed of processing has been increased by return from
fixed-point model to floating-point arithmetic, that also permit to get higher accuracy. The results
have exceeded all expectation. New model of speech codec has required less then 17.2 MIPS
performance (that corresponds up to triple acceleration). Real-time realization of new model has
the following features:
• A real-time realization of the speech codec is based on an Analog Device low cost debugging
unit EZ-KIT-LITE ADSP-2181, that includes one DSP chip ADSP-2181, stereo-codec AD-
1847 and boot EPROM 27C010;
• Analog and digital interfaces are optional;
• Only internal Program Memory (PM) RAM and internal Data Memory (DM) RAM are
required;
• Required size of PM RAM to one speech frame processing: 12963 words:
1. PM RAM for Encoder module: 3671 words;
2. PM RAM for Decoder module: 1817 words;
3. PM RAM for initialized and control module: 412 words;
4. PM RAM for codebooks and coefficients tables: 5344 words;
5. PM RAM for dynamic variable: 1719 words;
• Required size of DM RAM to one speech frame processing: 15361 words:
1. DM RAM for static variable: 2273 words;
2. DM RAM for dynamic variable: 13088 words.
• Required time to one speech frame (20 ms) processing by Encoder: 9.888 ms:
1. Floating-point dividing operations: 3.6%
2. Calculation of ACF and LPC coefficients: 0.7%
3. Calculation of LSP coefficients: 4.3%
4. Quantization of LSP coefficients: 0.3%
5. Interpolation of LSP coefficients: 0.2%
6. Calculation of LPC coefficients by LSP one: 0.4%
7. Linear prediction rest analysis: 12.1%
8. Adaptive codebook search: 22.1%
9. Stochastic codebook search: 42.3%
10. Other operations: 13.8%
• Required time to one speech frame (20 ms) processing by Decoder: 0.542 ms;
1. Errors corrections 3.0%
2. Unpack and codebooks search: 0.8%
3. Interpolation of LSP coefficients: 8.9%
4. Calculation of LPC coefficients by LSP one: 8.6%
Proc. of the 3-rd Int. Conf. on Radiocommunication, Audio and Television Broadcasting, Ukraine, Odessa, 1997 Sep. 9-12, P. 431 — 433
3
References
Proc. of the 3-rd Int. Conf. on Radiocommunication, Audio and Television Broadcasting, Ukraine, Odessa, 1997 Sep. 9-12, P. 431 — 433