研究生: |
張世昌 Shih-Chang Chang |
---|---|
論文名稱: |
嵌入式系統之多聲道WAVE檔音源輸出研究與實現 Design and Implementation of Multi-Channel WAVE-Format Audio Output in an Embedded System |
指導教授: |
林昌鴻
Chang-Hong Lin |
口試委員: |
陳維美
Wei-Mei Chen 沈中安 Chung-An Shen 林其誼 Chi-Yi Lin |
學位類別: |
碩士 Master |
系所名稱: |
電資學院 - 電子工程系 Department of Electronic and Computer Engineering |
論文出版年: | 2015 |
畢業學年度: | 103 |
語文別: | 中文 |
論文頁數: | 102 |
中文關鍵詞: | WAVE檔 、嵌入式系統 、音源輸出 、多聲道 、5.1聲道 |
外文關鍵詞: | WAVE file, audio output, I2S, 5.1 channel |
相關次數: | 點閱:173 下載:2 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
現今數位資訊時代,隨著科技產業不斷推陳出新,人類對多媒體影音的需求也越來越重視。其中聲音訊號是最基本及原始溝通與訊息傳遞的媒介之一,也是人類彼此最重要的溝通橋樑。而如有身(聲)歷其境的環境則更能讓人們更清楚感受到訊息與資訊的真實性。
本論文將透過目前市場上主流的ARM Cortex-M微控器,來解析5.1多聲道WAVE檔資料格式,並透過此嵌入式系統讀取出多聲道之脈衝編碼調變(PCM)資料,隨後透過I2S介面傳輸至後端DAC解碼輸出。在多聲道資料處理上利用軟體演算法將各聲道資料重組後輸出,因為錯誤的聲道資料輸出將導致聲音失真不連續。本文將逐步解析多聲道WAVE檔的資料並正確的將PCM資料輸出至每一聲道。
As the innovations in the technology industry keep on growing, the demands of multimedia in everyday life increase tremendously in the digital information era. Among them, the audio signal is a basic and native interface for communication and information delivery, as well as an important message exchange channel to human beings. An immersive sound environment can help people feel more clearly about the authenticity of the message and information.
In this thesis, the ARM Cortex-M micro-processor, which is a popular platform in embedded system, is used to implement a multi-channel WAVE-format audio output system. The purpose of this study is to analyze the 5.1 multi-channel audio data format and generate PCM data output to back-end DAC through the I2S (Inter-IC Sound) interface. A software algorithm is needed to reallocate multi-channel data to the output because wrong data output will cause the audio distortion and intermittent signals. In this thesis, a systematic way of how to correctly parse the multi-channel WAVE file format is presented.
[1] FileInfo, “Audio File Types” , 2014. [On line]. Available:
http://fileinfo.com/filetypes/audio.
[2] “Format Descriptions for Sound” , Library of Congress, [On Line].
Available: http://www.digitalpreservation.gov/formats/fdd/sound_fdd.shtml.
[3] “Creating Content for iPod + iTunes” , Apple Education , Apple Co.,2007.
[4] Andreas Spanias, Ted Painter and Venkatraman Atti, “Audio signal
processing and coding” , John Wiley & Sons, Inc., Publication, 2007.
[5] 蕭鈞庭, “以Linux 為核心的MP3 音樂隨選播放系統實作 The
Implementation of Linux-based MP3 Music-On-Demand system” , 國立中
山大學資訊工程學系, 碩士論文, 2004.
[6] 沙宇杰, “MPEG-2 AAC 編碼器的SoC 設計 An SoC Design of MPEG-2
AAC Encoder” , 國立中央大學電機工程學系碩士論文, 2011.
[7] 張芷燕, “MP3 編碼法之研究與實現 Research and Implementation of MP3
Encoding Algorithm” , 國立交通大學電機與控制工程系, 碩士論文, 2002.
[8] J.-H. Chen and J. Thyssen, “The Broadvoice Speech Coding Algorithm” ,
in IEEE, Acoustics, Speech and Signal Processing, 2007. ICASSP 2007.
IEEE International Conference, Irvine, California, USA, 2007.
[9] J.-H. Chen, “Novel Codec Structures For Noise Feedback Coding Of
Speech” , in Acoustics, Speech and Signal Processing, 2006. ICASSP
2006 Proceedings. 2006 IEEE International Conference, Broadcom
Corporation, Irvine, California, USA, 2006 .
[10] “Multimedia Programming Interface and Data Specifications 1.0” , Issued
as a joint design by IBM Corporation and Microsoft Corporation, 1991.
[11] “New Multimedia Data Types and Data Techniques ,Revision 3.0” ,
Microsoft, 1994.
[12] Rieck, T. Höss and T. Rieck, “WAV-Audio-Format” , 2000. [On Line].
Available: https://web.archive.org/web/20101207002408/http://www.it.fhtesslingen.
de/~schmidt/vorlesungen/mm/seminar/ss00/HTML/node107.ht
ml.
[13] P. Kabal, “Audio File Format Specifications” , McGill University, 2015.
[On Line]. Available: http://wwwmmsp.
ece.mcgill.ca/Documents/AudioFormats/WAVE/WAVE.html.
[14] “Multiple channel audio data and WAVE files” , Microsoft Co., 2007.
[15] DM00115249, “STM32F411xC STM32F411xE Data sheet” ,
STMicroelectronics, 2014.
[16] RM0383, “Reference manual STM32F411xC/E advanced ARM®-based
32-bit MCUs Rev.1” , STMicroelectronics, 2014.
[17] AN4031, “Using the STM32F2 and STM32F4 DMA controller” ,
STMicroelectronics, 2014.
[18] “I2S bus specification” , NXP (Philips semiconductors) Co., Feb. 1996.
[19] UM1021, “STM32F105xx, STM32F107xx, STM32F2xx and STM32F4xx
USB On-The-Go host and device library” , STMicroelectronics, 2012.
[20] “Microsoft FAT Specification” , Microsoft Co. , August 30 2005
[21] UM1721, “Developing Applications on STM32Cube with FatFs” ,
STMicroelectronics, 2014.
[22] “Specifications for LCD Module AC-162B” , AMPIRE Co., LTD., 2000.
[23] 張義和, “例說89S51-C 語言(第三版)” , 新文京, 2010.
[24] Data sheet, “CS4361 6-Channel D/A Converter” , Cirrus Logic, 2011.
[25] AN3997, “Audio playback and recording using the STM32F4DISCOVER“,
STMicroelectronics, 2011.