如何用印度语言将文本转换为语音? [英] how to convert text to voice in Indian languages?

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

问题描述

我想创建一个可以将文本转换为语音到不同的印度语言的应用程序。我已经有一个应用程序将文本转换为语音,但它仅用于英语。应用程序应该每分钟读取文本。请帮助我找到一个解决方案。



我使用以下代码将文本转换为英语语音。



I want to create a application that can convert text to voice into into different Indian languages.I already have a application that converts text to voice but its for English only.The Application is supposed to read text every minute.Please help me find a solution for this.

I an using the following code to convert text to voice in english.

voice = voice.Replace("\n", Environment.NewLine);
            SpeechSynthesizer reader = new SpeechSynthesizer();   
            reader.SelectVoiceByHints(VoiceGender.Female);
            reader.Rate = -3;
            reader.Speak(voice);
            reader.Dispose();

推荐答案

您需要找到您想要使用的语言的语音。请参阅 https://msdn.microsoft.com/en-us/library/ ms586869(v = vs.110).aspx [ ^ ]。
You need to find a speech voice for the language you wish to use. See https://msdn.microsoft.com/en-us/library/ms586869(v=vs.110).aspx[^].


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

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