应用科技
應用科技
응용과기
YING YONG KE JI
2015年
1期
45-48
,共4页
音频录放%DSP%FatFs文件系统%乒乓缓冲技术
音頻錄放%DSP%FatFs文件繫統%乒乓緩遲技術
음빈록방%DSP%FatFs문건계통%핑퐁완충기술
audio recording and playing system%digital signal processing%FatFs file system%Ping-Pong buffer technique
为满足大容量实时录放音频需求,同时保证音质和信息完整性,设计了基于DSP、音频编解码芯片、存储介质SD卡的大容量音频实时录放系统软硬件方案。通过通用IO口模拟SPI协议实现了无集成SPI接口环境下的SD卡实时读写,解决了系统的大容量问题。重点在详细测试分析单缓冲录放方案的基础上,提出采用乒乓缓冲和定时中断技术解决音频录放实时性问题。实际测试表明,由该方案形成的系统录放音质良好,实时性高,能够满足大容量存储应用需求。
為滿足大容量實時錄放音頻需求,同時保證音質和信息完整性,設計瞭基于DSP、音頻編解碼芯片、存儲介質SD卡的大容量音頻實時錄放繫統軟硬件方案。通過通用IO口模擬SPI協議實現瞭無集成SPI接口環境下的SD卡實時讀寫,解決瞭繫統的大容量問題。重點在詳細測試分析單緩遲錄放方案的基礎上,提齣採用乒乓緩遲和定時中斷技術解決音頻錄放實時性問題。實際測試錶明,由該方案形成的繫統錄放音質良好,實時性高,能夠滿足大容量存儲應用需求。
위만족대용량실시록방음빈수구,동시보증음질화신식완정성,설계료기우DSP、음빈편해마심편、존저개질SD잡적대용량음빈실시록방계통연경건방안。통과통용IO구모의SPI협의실현료무집성SPI접구배경하적SD잡실시독사,해결료계통적대용량문제。중점재상세측시분석단완충록방방안적기출상,제출채용핑퐁완충화정시중단기술해결음빈록방실시성문제。실제측시표명,유해방안형성적계통록방음질량호,실시성고,능구만족대용량존저응용수구。
In order to satisfy the demand of high capacity recording and playing of audio in real time while ensuring the tone quality and information integrity, a scheme is presented for hardware and software of a large capacity real?time audio recording system based on digital signal processing ( DSP ) , audio codec chip, and storage medium SD card. In order to solve the problem of large capacity system, the general IO port is used to simulate SPI protocol to achieve writing and reading through SD card in real?time under non?integrated SPI environment. The emphasis of this paper is to solve the real?time problem of audio recording and playing by the Ping?Pong buffer and timer inter?rupt technology, on the basis of testing and analyzing single buffer recording and playing scheme. The actual test shows that the sound quality recorded by this scheme is good with high real?time performance, thereby meeting the application requirement of large capacity storage.