介绍了在Linux系统下MiniGUI开发环境的建立,并通过消息队列使MiniGUI和语音识别引擎PocketSphinx之间完成数据传输。实现了PocketSphinx语音识别功能的图形化。消息队列将PocketSphinx的识别结果发送给MiniGUl。MiniGUI通过消息处理机制.对语音识别信号产生响应。同时返回一个参数给PocketSphinx表示完成语音识别。
This paper gives a brief introduction of establishing the development environment of MiniGUI under Linux system. It has realized the data transmission between MiniGUI and PocketSphinx by Message Queue and achieved the graphical of speech recognition function of PocketSphinx. The process is transmits the recognition result from PocketSphinx to MiniGUl by Message Queue, then MiniGUl has the response to the voice control signal through the message handling mechanism. At the same time, MiniGUI returns a parameter to PocketSphinx and complete the voice control function.