vb.net中的文本到语音应用程序 [英] text-to-speech application in vb.net

查看:74
本文介绍了vb.net中的文本到语音应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的意思是,我需要在vb.net2008中运行文本转换为语音的应用程序,我可以在运行Windows 7的系统上使用它.

i mean, i need a working text-to-speech application in vb.net2008 that i can use on my system runing windows 7

推荐答案

所有真的需要的是:
http://msdn.microsoft.com/en-us/library/system.speech. synthesis.aspx [ ^ ].

但是您可能还需要更多: Microsoft Q209354 .

请不要冒犯,好吗?如果您使用Web搜索或仅使用MSDN帮助,则可以更快地找到对相关库的引用,而不是浪费时间来键入问题和等待回复.了解如何更好地度过您的时间.

—SA
All you really need is this:
http://msdn.microsoft.com/en-us/library/system.speech.synthesis.aspx[^].

But there is something you probably need more: Microsoft Q209354.

Please, no offense, OK? If you used Web search or just MSDN help, you could find reference to relevant library faster then the time you wasted for typing your question and waiting for reply. Learn how to spend your time better.

—SA


尝试一下:
Try this:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        Dim Speech

        Speech = CreateObject("sapi.spvoice")

        Speech.Speak("Welcome ")

        Speech.Speak(TextBox1.Text)

    End Sub


这篇关于vb.net中的文本到语音应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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