Design of Wireless Voice Receiving Terminal Based on WiFi
-
摘要: 针对目前的语音调度系统存在实时性差、需要布设大量电缆等问题,设计了一种基于WiFi的无线语音接收终端。该语音接收终端工作时,无线收发模块GS1011接收来自无线网络的数据帧,STM32微控制器以中断方式将接收到的数据放入环形缓存区中,当环形缓存区数据大于播放阈值,STM32微控制器从环形缓存区中读取语音数据并通过音频编解码模块VS1053解码播放。同时,该语音接收终端采用RTP协议结合环形缓存及动态调整语音回放速率的措施来消除网络抖动现象。测试结果表明,该语音接收终端响应时间不到1 s,语音信号稳定,消除了网络抖动带来的影响。Abstract: In view of problems of bad real-time performance and needing set many cables existed in current voice dispatching system, a wireless voice receiving terminal based on WiFi was designed. When the terminal works, wireless transceiver module GS1011 receives data frame from wireless network, STM32 micro-controller receives the data by interrupt mode and stores the data into ring data buffer. When the data in the data buffer is more than playing threshold, STM32 micro-controller reads voice data from the data buffer to decode and broadcast with audio encoding and decoding module VS1053. Meanwhile, the terminal combines RTP protocol with ring data buffer and dynamicly adjusts voice playback speed to eliminate network jittering. The test result showed that respond time of the terminal is less than 1 s, voice signal is stable and eliminates influence of network jittering.
点击查看大图
计量
- 文章访问数: 43
- HTML全文浏览量: 10
- PDF下载量: 3
- 被引次数: 0