基于FreeRTOS和Speex编解码器的语音处理系统设计

李华辉, 肖云波, 沈勇, 邓斌

集成电路与嵌入式系统 ›› 2022, Vol. 22 ›› Issue (2) : 81-84.

集成电路与嵌入式系统 ›› 2022, Vol. 22 ›› Issue (2) : 81-84.
应用精选

基于FreeRTOS和Speex编解码器的语音处理系统设计

  • 李华辉, 肖云波, 沈勇, 邓斌
作者信息 +

Design of Speech Processing System Based on FreeRTOS and Speex Codec

  • Li Huahui, Xiao Yunbo, Shen Yong, Deng Bin
Author information +
文章历史 +

摘要

应用实时操作系统FreeRTOS设计了基于Speex编解码器的语音录制和播放的语音处理系统, 系统以STM32F407系列单片机和音频处理芯片WM8978为核心, 通过移植Speex算法, 采用编码解码、回声消除等语音技术实现了语音的录制和播放, 并且提出了一种基于FreeRTOS队列和DMA中断的循环缓冲技术, 用于音频数据的实时处理。通过验证, 该设计可以较好地实现语音的录制和播放, 并且通过Speex算法进行编解码减小了内存需求、有效地降低了噪声。

Abstract

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.

关键词

STM32F407 / WM8978 / Speex算法 / FreeRTOS

Key words

STM32F407 / WM8978 / Speex algorithm / FreeRTOS

引用本文

导出引用
李华辉, 肖云波, 沈勇, 邓斌. 基于FreeRTOS和Speex编解码器的语音处理系统设计[J]. 集成电路与嵌入式系统. 2022, 22(2): 81-84
Li Huahui, Xiao Yunbo, Shen Yong, Deng Bin. Design of Speech Processing System Based on FreeRTOS and Speex Codec[J]. Integrated Circuits and Embedded Systems. 2022, 22(2): 81-84
中图分类号: TN912.3    TP368.1   

参考文献

[1] 綦振禄, 杨宏, 崔元成.基于STM32处理器的Speex语音压缩算法移植[J].信息技术与信息化, 2020(11):5963.
[2] 季凯.基于Speex的嵌入式VoIP终端的设计及实现[D].沈阳:东北大学, 2015.
[3] 罗海涛.wav音频文件格式分析与数据获取[J].电脑知识与技术, 2016, 12(27):211213.
[4] STM32 CubeIDE开发环境新增FreeRTOS线程感知调试功能[J].单片机与嵌入式系统应用, 2021, 21(3):9495.
[5] 琚子晗, 白贺, 杨喜童.基于FreeRTOS与ARM的智能探索机器人系统设计与实现[J].机械工程师, 2021(6):3739, 42.
[6] 马全海, 李显鹏, 刘宇程, 等.基于STM32和FreeRTOS的便携式多功能测距系统设计[J].单片机与嵌入式系统应用, 2020, 20(11):6770, 74.
[7] 单雷, 陈小平, 王凯华.基于Speex的电梯环境下多方通话系统设计[J].单片机与嵌入式系统应用, 2017, 17(3):58.
[8] 曾宪.基于IIS总线的嵌入式音频系统的设计[J].电子制作, 2016(8):18.
[9] 瞿兵, 阳泳, 胡湘娟.基于嵌入式的音乐播放器设计与论述[J].电子世界, 2015(21):174.
[10] 孙王, 杨永全, 宫飞翔.基于Speex的音频压缩算法分析与优化[J].中国科技信息, 2015(10):5052.

Accesses

Citation

Detail

段落导航
相关文章

/