文字转语音 [英] Text To Speech

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

问题描述

如何在.NET C中创建文本以基于应用程序进行演讲#

How can i create a text to speach based application in .NET C #

推荐答案

^ ] 很多 [文章 [ ^ ]中有关C#.NET中基于文本到语音的应用程序的信息. :)

通过简单的搜索 [
There are[^] lots of[^] articles[^] in CodeProject about text to speech based applications in C# .NET. :)

With a simple search[^] (Keywords: SAPI, Tags: C#) you can find more! :)

Regards


Please search[^] the internet before asking a very blunt query.


您好,先生很高兴再次认识你.
我想出了用于文本到语音转换的代码.

添加参考-COM-Microsoft语音对象库-确定

在您的应用中(按钮事件)
SpeechLib.SpVoice d =新的SpeechLib.SpVoice();
d.Speak("ANYTEXT",SpeechLib.SpeechVoiceSpeakFlags.SVSFDefault);

它肯定会工作.
如有任何评论,请随时提出.
(NIK).THK u.
Hello Sir nice to meet u Again.
I have came up with the code for text to speech conversion.

Add Reference-COM-Microsoft Speech Object Library-OK

In ur application (BUTTON EVENT)
SpeechLib.SpVoice d = new SpeechLib.SpVoice();
d.Speak("ANYTEXT", SpeechLib.SpeechVoiceSpeakFlags.SVSFDefault);

IT WILL DEFINATELY WORK.
for any comments fell free to ask.
(NIK).THK u.


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

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