2013-06-01 104 views

回答

1

我建議使用谷歌API的文本到語音的完美免費的Windows Phone 8和它的偉大工程:

你可以找到如何在這裏做到這一點: How can I use google text to speech api in windows form?

當然

這個需求互聯網連接和開源的NAudio!

谷歌的工作最適合我

如果你想脫機選項,您可能會感興趣的: http://www.codeproject.com/Articles/483347/Speech-recognition-speech-to-text-text-to-speech-a

http://www.codeproject.com/Articles/380027/Csharp-Speech-to-Text

+0

謝謝,但需要互聯網連接。我在尋找離線選項:) –

2

Just use the services out of the box

private async void ButtonSR_Click(object sender, RoutedEventArgs e) 
{ 
    // Create an instance of SpeechRecognizerUI. 
    this.recoWithUI = new SpeechRecognizerUI(); 

    // Start recognition (load the dictation grammar by default). 
    SpeechRecognitionUIResult recoResult = await recoWithUI.RecognizeWithUIAsync(); 

    // Do something with the recognition result. 
    MessageBox.Show(string.Format("You said {0}.", recoResult.RecognitionResult.Text)); 
} 
相關問題