MP3音樂是目前廣為流行的數字音樂形式,它能夠在音質丟失很小的情況下把文件壓縮到更小的程度。由于MP3具有高壓縮比、音質優美、便于攜帶等優點,所以研究和實現MP3音頻數據解碼技術,也就具有極為重要的意義。
通過對MPEG-1 Audio 壓縮編碼標準和基于心理聲學模型的音頻數據壓縮原理的研究,了解和掌握MP3音頻數據格式的特點。本次設計是在Visual C++ 6.0的編程環境下完成的。基于對MP3音頻數據文件的研究,實現了合成子帶濾波器和逆改進型離散余弦變換等關鍵模塊的設計。并且在此基礎上,實現了對MP3音頻文件的解碼工作,完成了幀頭信息的輸出功能和PCM文件的存儲功能。
論文介紹了MP3音頻文件編解碼的一些關鍵技術,并且根據這些技術,利用面向對象的編程方法實現了MP3音頻文件的解碼。
關鍵詞:MP3解碼,心理聲學模型,逆改進型離散余弦變換,子帶濾波器
ABSTRACT
MP3 music is one of the most popular digital music at present, which can compress files to a smaller extent while lose little of timbre. Because of the characteristics such as high compress ratio, good timbre, and portable, it is valuable to research and implement of the digital audio encoding technology of MP3.
From the investigating work of standard of MPEG-1 Audio compress coding and principles of digital audio compress based on psychologic acoustic model, MP3 audio characteristics is acquired. This thesis is study of MP3 digital audio files, and implement some key modules such as synthetical subband filter and Inverse Modified Discrete Cosine Transform under Visual C++ 6.0. Based on the above work, function of decoding MP3 files, output of information of frame head and storing of PCM files is implemented.
Key technologies of decoding MP3 audio file are introduced in this paper. Based on these technologies, object oriented method is used to implement the function of decoding MP3 audio files.