如何在c#.net中将其他声音用作语音? [英] How to use an other sound for speech in c#.net ?

查看:226
本文介绍了如何在c#.net中将其他声音用作语音?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 ====
如何在c#.net中将其他声音用作语音?
我不喜欢默认的win声音来读取程序

解决方案

开始阅读的时间: http://msdn.microsoft.com /en-us/library/system.speech.synthesis.speechsynthesizer.aspx [ http://msdn.microsoft.com/en-us/libra ry/system.speech.synthesis.speechsynthesizer.getinstalledvoices.aspx [ http: //msdn.microsoft.com/zh-CN/library/system.speech.synthesis.speechsynthesizer.selectvoice.aspx [http://msdn.microsoft.com/zh-cn/library/system.speech.synthesis.voiceinfo.name.aspx [ ^ ].

另请参见很好的概述文章 http://msdn.microsoft.com/en-us/magazine/cc163663. aspx [ ^ ].

您可以向系统添加新声音并将其用于合成.您可以在以下网站上购买和下载其他声音:
http://www.nextup.com/TextAloud/SpeechEngine/voices.html [ ^ ],
http://www.acapela-group.com/download-infovox- desktop-text-to-speech-demo.html [ ^ ].

据我所知-它可能很昂贵.

—SA


hi ====
How to use an other sound for speech in c#.net ??
i dont like default win sound for read my text in program

解决方案

Time to start reading: Microsoft Tech Net[^]


You have a selection of installed voices to choose from: use System.Speech.Synthesis.SpeechSynthesizer.GetInstalledVoices, see http://msdn.microsoft.com/en-us/library/system.speech.synthesis.speechsynthesizer.aspx[^], http://msdn.microsoft.com/en-us/library/system.speech.synthesis.speechsynthesizer.getinstalledvoices.aspx[^].

A voice selection can be made by the method SelectVoice; pass a name parameter using the property VoiceInfo.Name, see http://msdn.microsoft.com/en-us/library/system.speech.synthesis.speechsynthesizer.selectvoice.aspx[^], http://msdn.microsoft.com/en-us/library/system.speech.synthesis.voiceinfo.name.aspx[^].

See also a good overview article http://msdn.microsoft.com/en-us/magazine/cc163663.aspx[^].

You can add a new voice to the system and use it for synthesis. You can purchase and download additional voices on sites like:
http://www.nextup.com/TextAloud/SpeechEngine/voices.html[^],
http://www.acapela-group.com/download-infovox-desktop-text-to-speech-demo.html[^].

From what I know — it can be expensive.

—SA


这篇关于如何在c#.net中将其他声音用作语音?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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