MP3音樂是目前廣為流行的數(shù)字音樂形式,它能夠在音質(zhì)丟失很小的情況下把文件壓縮到更小的程度。由于MP3具有高壓縮比、音質(zhì)優(yōu)美、便于攜帶等優(yōu)點,所以研究和實現(xiàn)MP3音頻數(shù)據(jù)解碼技術(shù),也就具有極為重要的意義。
通過對MPEG-1 Audio 壓縮編碼標(biāo)準(zhǔn)和基于心理聲學(xué)模型的音頻數(shù)據(jù)壓縮原理的研究,了解和掌握MP3音頻數(shù)據(jù)格式的特點。本次設(shè)計是在Visual C++ 6.0的編程環(huán)境下完成的。基于對MP3音頻數(shù)據(jù)文件的研究,實現(xiàn)了合成子帶濾波器和逆改進(jìn)型離散余弦變換等關(guān)鍵模塊的設(shè)計。并且在此基礎(chǔ)上,實現(xiàn)了對MP3音頻文件的解碼工作,完成了幀頭信息的輸出功能和PCM文件的存儲功能。
論文介紹了MP3音頻文件編解碼的一些關(guān)鍵技術(shù),并且根據(jù)這些技術(shù),利用面向?qū)ο蟮木幊谭椒▽崿F(xiàn)了MP3音頻文件的解碼。
關(guān)鍵詞:MP3解碼,心理聲學(xué)模型,逆改進(jìn)型離散余弦變換,子帶濾波器
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.