语音识别菜单驱动 [英] Voice Recognition Menu Driven

查看:100
本文介绍了语音识别菜单驱动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在查找示例程序时遇到问题,它是有关语音菜单驱动的编码.就像这样,当通过麦克风进行语音输入时,就像您说的文件菜单"一样,文件菜单列表将被选择并列出子菜单供您选择.它看起来与语音识别软件相同,但是我一直在研究如何通过编程或拖放应用程序来创建菜单驱动的语音输入来创建它.

I have problem to find sample program and it''s coding about voice menu driven. It like this, when giving voice input through microphone, like you say, "File Menu," then the file menu list will be select and list it sub-menu for choice. It looks like same as speech recognition software, but I was looking at how to create it through programming or maybe a drag and drop application to build menu driven voice input.

我希望能尽快得到答复

推荐答案

根据您的需要,首先必须安装SAPI(http://msdn.microsoft.com/zh-cn/library/ms723627%28VS.85%29.aspx),通过它您可以将语音转换为文本. ;完成后,您必须基于文本自动执行鼠标和键盘事件,在VC ++中,我们可以使用mouse_event和keybd_event API.

To achieve your needs, firstly you have to install the SAPI(http://msdn.microsoft.com/en-us/library/ms723627%28VS.85%29.aspx), throught which you will get the speech to text convertion.  once it is done, you have to automate the mouse and keyboard event based on the text, in VC++ we can do with mouse_event and keybd_event APIs.


目的标记中的一个是用于标记您要问的问题类型,例如C#,C ++等.当您输入代码项目"时,我们不知道您使用的是哪种语言,如果有人想搜索以帮助想要做语音激活内容的人,那么那里就没有标签来帮助他们做到这一点.

The purpose of the tags is for you to mark what sort of question you''re asking, such as C#, C++, etc.  As you put ''Code Project'', we have no idea what language you''re using, and if someone wanted to search to help someone who wanted to do voice activated stuff, there would be no tags there to help them do that.


这篇关于语音识别菜单驱动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆