我如何转换为文本到语音 [英] How do I covert to text to speech

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

问题描述

我在使用除英语以外的其他语言将正确的代码行转换为语音时遇到问题。如果我在这个让我疯狂的任务上得到帮助,我会非常高兴。



我尝试了什么:



我已经尝试过如何解决这个问题,但不断得到的答案与我想要的不符。我还检查了youtube的视频教程,但找不到我要查找的具体代码。

解决方案

听起来你首先必须使用谷歌的翻译API来将文本转换为您想要的语言。但是,我无法想象微软的Speech API会产生的混乱。



Marc


我假设你是在这里使用.Net,你可以使用Microsoft Speech API,它很容易使用,互联网上有很多例子。



这是微软教程在它上面:



文字转语音教程(SAPI 5.3) [ ^ ]



这是官方MSDN页面:



Microsoft Speech API(SAPI)5.4 [ ^

i am having problem getting the right lines of codes to convert a text to speech using a different language other than English. i would be very happy if i am assisted on this task that is driving me crazy.

What I have tried:

I Have tried goggling the ways on how to go about this but constantly get a response that do not match what i am looking for. I have also checked youtube for a video tutorial but could not find the specifics code am looking for.

解决方案

Sounds like you'll first have to use Google's translation API to get the text into the language you want. But then, I can't imagine the mess that Microsoft's Speech API will generate.

Marc


I am assuming you are using .Net here, You can use Microsoft Speech API, it is quite easy to use and there are a lot of examples on the internet.

Here is a Microsoft tutorial on it:

Text-to-Speech Tutorial (SAPI 5.3)[^]

Here is the official MSDN page on it:

Microsoft Speech API (SAPI) 5.4[^]


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

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