Tag: 演讲

在.NET Speech中添加另一个语音

如何在.NET语音中添加另一个语音? 我想用捷克语。 我找到了一些*.sis文件Eliska22k.sis但我不知道如何使用它。 SpeechSynthesizer synth = new SpeechSynthesizer(); foreach (var voice in synth.GetInstalledVoices()) Console.WriteLine(voice.VoiceInfo.Name); 只给我Microsoft Anna 。

使用Google Speech API

在基于C#的应用程序中实现Google Speech API的代码是什么? 我发现可以创建一个音频文件并将其发送到http://slides.html5rocks.com/#speech-input并以文本forms接收。 如果你以前尝试过,可以解释一下如何做到这一点或者提供代码吗? 被困在这里一段时间了 非常感激。 代码到目前为止: SpeechRecognitionEngine rec = new SpeechRecognitionEngine(); SpeechSynthesizer dummy = new SpeechSynthesizer(); public Form1() { InitializeComponent(); Choices searching = new Choices(“Porsche”); GrammarBuilder searchService = new GrammarBuilder(“Search”); searchService.Append(searching); // Create a Grammar object from the GrammarBuilder and load it to the recognizer. Grammar googleGrammar = new Grammar(searchService); ; rec.RequestRecognizerUpdate(); rec.LoadGrammar(googleGrammar); […]