Speech Application SDK 在asp.net上 实现语音识别 大家讨论一下 不知道怎么实现asp.net(C#)上的语音识别 网页形式在winform上可以识别 现在要转成asp.net的 就不能识别了 又谁做过这方面的 麻烦告诉我一下大家进来讨论一下 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 你要理解一点:asp.net应用程序是运行在服务器上而不是客户端的! 应该是权限问题吧,楼主是要在客户端录入声音吗?你可以在网页中嵌入winform用户控件来实现,关键问题就是需要客户端赋予相应的权限才行。 客户端如何获得音频输入?这个要Activex吧剩下就是如何传输,最后才是在服务端分析。 是用这个 speech application SDK 1.1 不过 我不知道这个SDK怎么 在winform里我已经实现了语音识别 不过转到asp.net就不好用了。下面是我的一部分代码 大家帮这看看public void ContexRecognition(int StreamNumber, object StreamPosition, SpeechLib.SpeechRecognitionType RecognitionType, SpeechLib.ISpeechRecoResult Result) { string strText = string.Empty; strText = Result.PhraseInfo.GetText(0, -1, true); //txtSpeakText.SelectionStart = m_cChars; txtSpeakText.Text = strText + " "; if (_Default.sText == string.Empty) { if (strText != string.Empty) { _Default.sText += strText; m_cChars = m_cChars + 1 + strText.Length; } } } 求教一个简单的网络问题 gridview导出Excel问题 asp.net 过滤字符串的一个问题 请教页面跳转问题 ASP.NET中母版页的内容页的文本框的边框显示不了? 我处理很多(百万)数据 用循环把数据表的每一条读出来 我想在页面上时时显示现在是多少条 就跟秒表一样 怎么实现 请帮忙?? table 文件上载与下载的问题 链接外部的Css文件 如果说asp是解释执行的,那么asp.net是怎样执行的呢?............. asp.net中datalist的用法 数据库分布式存储数据
剩下就是如何传输,最后才是在服务端分析。
{
string strText = string.Empty;
strText = Result.PhraseInfo.GetText(0, -1, true);
//txtSpeakText.SelectionStart = m_cChars;
txtSpeakText.Text = strText + " ";
if (_Default.sText == string.Empty)
{
if (strText != string.Empty)
{
_Default.sText += strText;
m_cChars = m_cChars + 1 + strText.Length;
}
}
}