我如何创建一个语音应用程序来演讲文本在我按下一个键我以前按'D'键说它'D'帮助我 [英] How Do I Create A Speech Application To Speak A Text During I Pressed A Key For Ex I Presses 'D' Key Its Says 'D' Help Me

查看:53
本文介绍了我如何创建一个语音应用程序来演讲文本在我按下一个键我以前按'D'键说它'D'帮助我的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助我............................................ ........................................

解决方案

请参阅文字转语音 [ ^ ]。


不幸的是,如果你使用内置的System.Speech.Synthesis方法,你会发现微软没有解决内存泄漏问题。解决这个问题的一种方法是使用COM挂钩底层SAPI方法,但我喜欢的方式是使用英特尔的Perceptual SDK(也称为RealSense)。这为您提供语音识别和综合。我写了一篇描述如何使用它的文章这里 [ ^ ]。


http:/ /code.msdn.microsoft.com/windowsdesktop/Text-to-Speech-Converter-0ed77dd5 [ ^ ]



http://www.c-sharpcorner.com/uploadfile/syedshakeer/text-to-speech-using-C-Sharp / [ ^ ]

pls help me....................................................................................

解决方案

See Text to Speech[^].


Unfortunately, if you use the inbuilt System.Speech.Synthesis methods, you will find out that there are memory leaks that have not been addressed by Microsoft. One way to work round this is to use COM to hook into the underlying SAPI methods, but the way I prefer is to use Intel's Perceptual SDK (also known as RealSense). This provides you with speech recognition and synthesis. I have written an article describing how to use it here[^].


http://code.msdn.microsoft.com/windowsdesktop/Text-to-Speech-Converter-0ed77dd5[^]

http://www.c-sharpcorner.com/uploadfile/syedshakeer/text-to-speech-using-C-Sharp/[^]


这篇关于我如何创建一个语音应用程序来演讲文本在我按下一个键我以前按'D'键说它'D'帮助我的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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