【问题标题】:SpeechSynthesizer in windows phone 8windows phone 8 中的语音合成器
【发布时间】:2014-04-29 09:30:59
【问题描述】:

我正在开发一个应用程序,以使用 windows phone 8 中的语音合成器将文本转换为语音。我想突出显示语音合成器已说出的文本。在 MSDN 站点中,GetCurrentlySpokenPrompt() 方法在 SpeechSynthesizer 类中可用,但在我的代码中没有这样的方法可访问。

这是我的代码:

SpeechSynthesizer synth = new SpeechSynthesizer();
IAsyncAction task= synth.SpeakTextAsync("text");
var spokenText = synth.GetCurrentlySpokenPrompt(); // here its giving error

谁能帮帮我!

【问题讨论】:

标签: c# wpf windows-phone-8 speechsynthesizer


【解决方案1】:

WP 8WP 8.1 的功能和 API 集有限。我可能认为WP 是不可能的。查看 msdn 链接以获取帮助 Text-to-speech (TTS) for Windows Phone 8

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-03-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多