摘要
应用实时操作系统FreeRTOS设计了基于Speex编解码器的语音录制和播放的语音处理系统,系统以STM32F407系列单片机和音频处理芯片WM8978为核心,通过移植Speex算法,采用编码解码、回声消除等语音技术实现了语音的录制和播放,并且提出了一种基于FreeRTOS队列和DMA中断的循环缓冲技术,用于音频数据的实时处理。通过验证,该设计可以较好地实现语音的录制和播放,并且通过Speex算法进行编解码减小了内存需求、有效地降低了噪声。
The real-time operating system FreeRTOS is used to design a voice processing system based on Speex for voice recording and playback.The system uses the STM32F407 series single-chip microcomputer and audio processing chip WM8978 as the core.By transplanting the Speex algorithm,the voice technology such as codec and echo cancellation is adopted to realize the voice.It also proposes a circular buffer technology based on FreeRTOS queue and DMA interrupt for real-time processing of audio data.Through verification,the design can achieve better voice recording and playback,and encoding and decoding through the Speex algorithm can not only reduce memory requirements,but also effectively reduce noise.
作者
李华辉
肖云波
沈勇
邓斌
Li Huahui;Xiao Yunbo;Shen Yong;Deng Bin(Yunnan Minzu University,Kunming 650000,China)
出处
《单片机与嵌入式系统应用》
2022年第2期81-84,87,共5页
Microcontrollers & Embedded Systems