Study and Optimization of SPEEX Wideband Speech Codec in Electronic Tour Guide System

Author
HuZuoLiang
Advisor
JinWenGuang
School
Zhejiang University
Major
Circuits and Systems
Classification
TN912.3 Speech Signal Processing
Degree
Master's thesis
Year
2008
Downloads
174
Citations
8

Request the full text

Abstract

With the rapid development of tourism, the electronic tour guide system has been advanced and becomes a research hotspot. The speech codec applied in a wireless electronic tour guide system should be low bit-rate, robust to data lost and suitable for wireless data transmission. SPEEX is an open-source CELP codec satisfying the above requirement, thus it’s suitable for wireless electronic tour guide system.On analysis of some important algorithms of CELP, a comprehensive study on the algorithm, the characteristic, the encoding modes and the structure of SPEEX have been completed. Then the algorithm of constructing a new perceptual weighting filter in SPEEX with the psychoacoustic model is optimized by designing new schemes. In the proposed algorithms, LSP coefficients or filter coefficients are interpolated to reduce its complexity. The result of the experiment shows that the average coding time has been decreased by 18% and 53% respectively, with little impact on the speech quality.The SPEEX decoder has been non-distorted optimized base on Freescale 56800E DSP. We reassign the decoder’s stack and the memory, reconstruct the c code and reduce the redundancies.According to the way CodeWarrior compiles, we optimize c code and the algorithm of decoding bits from the bit stream. Then the assembly code of key modules is rewrote by using the special DSP instructions. Furthermore, we realize the SPEEX decoder on the receiver of the electronic tour guide system.Compared with reference code, the optimization result reduces code size, data size and heap size by 49.5%, 60.23% and 95.92%. reduces the average instructions and machine cycles spent on decoding one speech frame by 60.82% and 66.13%. The complexity of SPEEX decoder has been decrease from 31.64MIPS to 12.40 MIPS now, Thus, the decoding speed improved by 2.55times.

Table of contents

Abstract 4-5 ABSTRACT 5-8 first chapter 8-15 1.1 the electronic guide technology of the status quo and the key technology 8-10 1.1.1 electronic guide technology development and its status quo 8-9 1.1.2 Voice codec's key role in the electronic guide 9-10 1.2 voice codec technology Introduction to its status quo 10-12 1.2.1 voice encoding and decoding technology Introduction 10-11 1.2.2 Code Excited Linear Prediction technology status quo 1.2.3 SPEEX voice codec technology and its current situation 11-12 the significance electronic tour guide system optimization 1.3 SPEEX in 12-13 1.4 thesis contents and chapter arrangement 13-15 1.4.1 The thesis work and objectives 13-14 1.4.2 of this thesis chapters arranged 14-15 The second chapter CELP based SPEEX algorithm analysis 15-36 2.1 CELP algorithm analysis 15-25 2.1.1 Linear Prediction Analysis 15-21 2.1.2 Short-term forecasts and long-term forecasts 21 2.1.3 synthetic analysis - linear predictive coding ideological 21-22 2.1.4 code this excitation 22-23 2.1.5 sense the weighting filter 23-25 2.1.6 CELP general structure 25 2.2 SPEEX algorithm analysis 25-35 2.2.1 SPEEX wideband speech coding principles 26-30 the 2.2.2 SPEEX narrowband sub-mode coding 30-34 the 2.2.3 SPEEX broadband sub-mode coding 34-35 2.3 This chapter Summary 35-36 Chapter SPEEX coding mode and the key modules of the encoder optimization 36-51 the 3.1 SPEEX coding mode analysis 36-39 3.1.1 SPEEX coding mode decomposition 36 the encoded bit 3.1.2 SPEEX allocation 36-38 3.1.3 SPEEX encoding quality mode is divided 38-39 3.2 SPEEX perceptual weighting filter optimization 39-46 3.2.1 psychoacoustic model in SPEEX 39-40 3.2.2 psychoacoustic model the noise masking curve calculation 40-42 3.2.3 new perception of the weighted filter coefficients calculated 42-44 3.2.4 complexity analysis 44 3.2.5 Based on the interpolation algorithm analysis 44-46 3.2.6 optimization algorithm 46 3.3 optimization results and analysis 46-50 3.3.1 algorithm complexity analysis 46-47 3.3.2 algorithm performance analysis 47-49 3.3.3 Voice Quality subjective experimental results 49-50 3.4 This chapter Summary 50-51 Chapter optimized decoder FREESCALE 56800E DSP-based SPEEX 51-85 4.1 SPEEX reference code analysis and decoder build 51-58 4.1.1 Reference code structure analysis 51-54 4.1.2 codec mode electronic tour guide applications based test 54-56 4.1.3 Reference code separation and decoder build 56-58 4.2 decoder reference code performance analysis 58-60 4.2.1 code and data storage space 58 4.2.2 key modules run the speed test 58-60 4.3 code, data storage optimization 60-68 4.3.1 redundant processing 60-63 4.3.2 data space optimization 63-68 4.4 operating speed optimization 68-81 4.4.1 CodeWarrior for 56800E compiled characteristics 68-69 4.4.2 C code optimization 69-76 4.4.3 DSP assembly code optimization 76-81 4.5 overall optimization results 81-84 4.5.1 code and data storage space to optimize results 81-83 4.5.2 running speed optimization results 83-84 4.6 This chapter Summary 84-85 Chapter SPEEX implementation of electronic tour guide receiver 85-90 5.1 electronic tour guide system constitutes 85-86 5.2 electronic guide portable receiver design 86-87 5.3 SPEEX voice decoder implementation 87-89 5.3.1 portable receiver software architecture 87-88 the the the 5.3.2 SPEEX voice decoder work rules 88 5.3.3 wireless transmission of packet loss error concealment processing 88-89 5.4 This chapter Summary 89-90 Chapter Summary and Outlook 90-92 the References 92-95 Master during reading honors and scientific research 95-96 Acknowledgements 96

Related dissertations

  1. The Implementation and Optimization of MPEG-4AAC Codec Based on the DM642Platform
  2. Research on the Optimization of the System of Urban-rural Integrated Residents Social Pension Insurance of Laiwu City
    HaoXiaoJuan ·Shandong Agricultural University ·2013 ·Master's thesis
  3. Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
    SunZuo ·Ningxia University ·2014 ·Master's thesis
  4. The Optimization of Fund Contract in the Perspective of Governance Structure
    YaoZhuangLong ·Central South University ·2013 ·Master's thesis
  5. The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
    LiuMing ·Northwestern University ·2012 ·Master's thesis
  6. Research on Optimization of commercial bank loans business processes Chinese micro enterprise
    ZhouXiaoDan ·Inner Mongolia University ·2013 ·Master's thesis
  7. Optimization of Commercial Bank Credit Rating Index System for SMEs
  8. An Optimization Study on Proscenium Support Facilities of Commercial Banks on Queuing Theory
    ChenMei ·Harbin Institute of Technology ·2012 ·Master's thesis
  9. The Credit Process Optimization of A Bank
    WangHe ·Liaoning University ·2012 ·Master's thesis
  10. The branches of commercial banks, credit risk management process - a case study of A bank D branch cases
    JinYanXin ·Yunnan University of Finance ·2013 ·Master's thesis
  11. The Research of Mode of Corporate Governance of China’s Trust Industry Defect and Optimization
    HuZuo ·East China Normal University ·2013 ·Master's thesis
  12. Under the New Situation of the International Monetary System Unbalance Influence on China’s Foreign Exchange Reserves and Its Optimization
    LinLeTing ·Dongbei University of Finance ·2013 ·Master's thesis
  13. The Study on Constructing Harmony in Urban Communities
    ZhaoZuoZuo ·Yanshan University ·2012 ·Master's thesis
  14. An Investigation of the Management System of Yancheng Local Tax Inspection
    YanXueJun ·Suzhou University ·2012 ·Master's thesis
  15. Based on the Subjective Well-being to Optimize the China’s Rural Public Expenditure
  16. Research on China’s Tax Cost and Optimization
  17. Analysis on Tax Scale Optimization of Liaoning Province
    LuZuoZuo ·Shenyang University ·2013 ·Master's thesis
  18. Study on the optimization of tax system of China's current stock market
    WangBing ·Capital University of Economics ·2014 ·Master's thesis
  19. The Optimal Decision of Slotting Fee and Percentage of Revenue under the Consignment Model
  20. Developing Strategy for Service Industry of the Nankai District Tianjin
    MaoZuoJin ·Tianjin University ·2012 ·Master's thesis