Design of Speech Processing System Based on FreeRTOS and Speex Codec

Li Huahui, Xiao Yunbo, Shen Yong, Deng Bin

Integrated Circuits and Embedded Systems ›› 2022, Vol. 22 ›› Issue (2) : 81-84.

Integrated Circuits and Embedded Systems ›› 2022, Vol. 22 ›› Issue (2) : 81-84.
APPLICATION NOTES

Design of Speech Processing System Based on FreeRTOS and Speex Codec

  • Li Huahui, Xiao Yunbo, Shen Yong, Deng Bin
Author information +
History +

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.

Key words

STM32F407 / WM8978 / Speex algorithm / FreeRTOS

Cite this article

Download Citations
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

References

[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.

32

Accesses

0

Citation

Detail

Sections
Recommended

/