The MELP speech encoder and AC-3 audio decoder of research and optimization to achieve
- Author
- LouJiaJia
- Advisor
- LiuYunHai
- School
- Zhejiang University
- Major
- Information and Communication Engineering
- Classification
- TN912.3 Speech Signal Processing
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 194
- Citations
- 1
Abstract
With the development of informational society, the compression andtransmission technology of sound has already become important representation of thesocial development level. Both the speech coding/decoding technology, which is usedin human communication, and the audio coding/decoding technology, which is usedin TV and broadcast transmission, are important parts of the modem social life. Inadditional, these coding/decoding technologies play a very significant role in themultimedia, network communication and security communication.MELP(Mixed Excitation Linear Prediction) vocoder is widely applied incommercial and military speech communication because of its low-bit-rate, low-delayand low-complexity. Therefore, realizing the MELP speech coder is very useful andhas important meaning. BF561 is the new generation DSP produced by ADICorporation, which has two cores to deal with more instructions, and each core canwork at 600MHz. BF561 also has lots of peripheral interfaces. So, BF561 is an idealplatform for multimedia applications. In this thesis, we put the MELP speech coderonto this platform. Then we implement and optimize it on the BF561.The AC-3 audio standard became one part of the American HDTV standard in1995, and is widely applied in many fields, such as TV, film, broadcast etc. In China,digital TV is stepping in people’s normal life, in this situation, realizing the AC-3audio decoder also has significant practical meaning. DM6446 is newly proposeddual-core DSP by TI Corporation, which possesses both ARM and DSP properties.DM6446 is very suitable for multimedia applications. We apply AC-3 decodingalgorithm on the ARM of DM6446 in order to perform fixed-point description.The thesis at first surveys the development and the current progress of thespeech coding and current audio formats. Secondly, we introduce the principle ofspeech coder, and present the important model of MELP algorithm. Thirdly, wesimply introduce MELP codec system and its platform, including the structurecharacter of the BF561, audio sampling and sending on evaluating board, softwareplatform Visual DSP, and so on. Fourthly, we introduce methods to optimize programperformance and use them in MELP speech coder. Fifthly, we introduce the flow ofAC-3 decoding algorithm, realizing platform, system framework, I/O interface settingand its fixed-point description realization on the ARM of DM6446. Then we usefixed-point description to modify the program, and optimize the memory. Finally, wepresent the conclusion and tasks in the future.
Table of contents
Abstract 2-3
Abstract 3-4
directory 4-7
first chapter 7-19
1.1 Introduction 7-8
the 1.2 speech coding its development overview 8-13
1.2.1 speech coding theory principle 8
1.2.2 speech coding classification 8-9
1.2.3 Speech Coding Technology Development and Present 9-11
overview of the development of the the 1.2.4 low bit rate speech coding technology 11-13
1.3 audio codec technology and its development overview 13-16
1.4 codec embedded processor-based optimization 16-18
1.4.1 MELP encoder Blackfin DSP platform optimized to achieve 16-17
1.4.2 AC-3 decoder optimization DM6446 ARM part to achieve 17-18
1.5 of this study and results 18-19
second chapter MELP speech coding principle 19-30
2.1 Introduction 19
2.2 MELP voice coding theory foundation 19-22
2.2.1 Voice physical model 19-20
2.2.2 mathematical model of the speech signal 20-21
2.2.3 Linear Prediction Theory 21-22
2.3 MELP audio codec principle 22-29
2.3.1 MELP encoder principle 22-28
2.3.1.1 pretreatment 23
2.3.1.2 pitch period calculation 23-25
2.3.1.3 bandpass sound intensity analysis 25-26
2.3.1.4 linear predictive analysis 26
2.3.1.5 gain calculation 26
2.3.1.6 aperiodic flag 26
2.3.1.7 Fourier series amplitude calculation 26-27
2.3.1.8 quantify 27-28
2.3.1.9 error correction coding 28
the
2.3.1.10 generates bit-stream 28
2.3.2 MELP decoder principle 28-29
2.4 This chapter Summary 29-30
Chapter MELP encoder based on Blackfin 30-42
3.1 Blackfin family of DSP Overview 30
3.2 BF561 Overview 30-36
3.2.1 BF561 chip 30-34
3.2.1.1 BF561 kernel structure 31
3.2.1.2 BF561 pipeline 31-32
3.2.1.3 BF561 storage space 32-34
3.2.1.4 BF561 peripheral interface 34
3.2.2 BF561 development board introduced 34-35
3.2.3 software development platform introduced 35-36
3.3 MELP encoder 36-41
3.3.1 low bit rate audio and video encoding system framework 36-37
3.3.2 MELP coding input interface to achieve 37-39
3.3.3 MELP encoded output interface to achieve 39-40
3.3.4 MELP coding running clock setting 40-41
3.4 This chapter Summary 41-42
Chapter Blackfin code porting and optimization 42-62
4.1 code transplant 42
4.2 C code optimization 42-48
4.2.1 algorithm optimized 43-44
4.2.2 Viusal DSP optimization options 44-46
4.2.3-based code optimization optimization options are found; 46-48
4.3 assembly code optimization 48-56
4.3.1 BF561 assembler instruction set 48
4.3.2 assembly code optimization principle 48-50
4.3.3 basic operations compilation optimization 50-52
4.3.4 functional modules compilation optimization 52-56
4.4 storage optimization 56-60
4.4.1 storage space allocation 56-58
4.4.2 CACHE use 58-60
4.5 optimization results 60-61
4.6 Chapter Summary 61-62
by
CHAPTER AC-3 decoder DM6446 ARM-based implementation and optimization 62-80
5.1 Introduction 62
5.2 AC-3 audio algorithm research 62-68
5.2.1 AC-3 audio coding algorithm 62-63
5.2.2 AC-3 audio decoding algorithm 63-68
5.2.2.1 AC-3 sync frame structure 63-64
5.2.2.2 synchronization and error detection 64
5.2.2.3 BSI and part of the AB resolve 64-65
5.2.2.4 Index decoding 65
5.2.2.5 bits assigned 65-66
5.2.2.6 mantissa the inverse quantization 66
5.2.2.7 decoupling 66-67
5.2.2.8 Reset Matrix 67
5.2.2.9 inverse transform 67-68
the
5.2.2.10 downward mixing 68
5.3 the DM6446 system overview 68-69
5.3.1 TMS320 DM 6446 introduced 68-69
5.3.2 DM6446 development board introduced 69
5.4 AC-3 decoding subsystem design 69-71
5.4.1 IP digital set-top box system introduced 69-70
5.4.2 AC-3 input and output interface implementation 70-71
5.5 AC-3 decoding algorithm and optimization 71-79
5.5.1 code rectification 71-73
5.5.2 code perfect 73-74
5.5.3 code fixed point describe the transformation 74-76
5.5.4 sentinel describing performance 76-77
5.5.5 Optimization of data storage space 77-78
5.5.6 AC-3 decoding algorithm for ARM-based implementation and optimization results 78-79
5.6 This chapter Summary 79-80
Chapter Summary and Outlook 80-82
6.1 summarizes 80-81
6.2 Looking 81-82
the
References 82-86
Acknowledgements 86
Related dissertations
- Porting and Optimization of G.723.1Algorithm for ARM Platform
- Research on the Optimization of the System of Urban-rural Integrated Residents Social Pension Insurance of Laiwu City
- Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
- The Optimization of Fund Contract in the Perspective of Governance Structure
- The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
- Research on Optimization of commercial bank loans business processes Chinese micro enterprise
- Optimization of Commercial Bank Credit Rating Index System for SMEs
- An Optimization Study on Proscenium Support Facilities of Commercial Banks on Queuing Theory
- The Credit Process Optimization of A Bank
- The branches of commercial banks, credit risk management process - a case study of A bank D branch cases
- The Research of Mode of Corporate Governance of China’s Trust Industry Defect and Optimization
- Under the New Situation of the International Monetary System Unbalance Influence on China’s Foreign Exchange Reserves and Its Optimization
- The Study on Constructing Harmony in Urban Communities
- An Investigation of the Management System of Yancheng Local Tax Inspection
- Based on the Subjective Well-being to Optimize the China’s Rural Public Expenditure
- Research on China’s Tax Cost and Optimization
- Analysis on Tax Scale Optimization of Liaoning Province
- Study on the optimization of tax system of China's current stock market
- The Optimal Decision of Slotting Fee and Percentage of Revenue under the Consignment Model
- Developing Strategy for Service Industry of the Nankai District Tianjin