简体   繁体   English

C#中的语音合成

[英]Speech Synthesis in C#

I use the speech synthesis for a simple program, and I was wondering if there is supporting in other languages than english? 我将语音合成用于一个简单的程序,我想知道是否支持英语以外的其他语言?

I want that the speech will be in the local language. 我希望演讲将使用当地语言。 Is it possible? 可能吗?

You can use SpeechSynthesizer.GetInstalledVoices to obtain a list of all available voices, together with some Culture Information. 您可以使用SpeechSynthesizer.GetInstalledVoices来获取所有可用声音的列表以及一些SpeechSynthesizer.GetInstalledVoices信息。 On my Windows 8.1 machine, there is a German and an English language installed. 在我的Windows 8.1机器上,安装了德语和英语。 You should be able to check if there is a capable voice present with the GetInstalledVoices method. 您应该能够检查GetInstalledVoices方法中是否存在语音功能。

Here is a list of the supported languages on the Microsoft Speech Platform SDK 11 这是Microsoft Speech Platform SDK 11上受支持的语言的列表

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM