-
7 votesanswersviews
如何在swift中添加/更改语音语音性别到iOS应用程序?我正在使用AVSpeechSynthesisvoice Class来获取语音
我使用 AVSpeechSynthesizer 创建了一个带语音语音功能的应用程序,并在TableView中显示 AVSpeechSynthesisVoice: speechVoices() 函数的语言列表 . 用户可以从TableView中选择语音语言 . 我想要实现的下一件事是添加语音性别,以便用户可以在 Siri app中切换默认的 Male 或 Female 语音 . 我不想让它变得复杂... -
1 votesanswersviews
如何使用System.Speech
所以我有: C:\ Program Files(x86)\ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.0 \ Profile \ Client \ System.Speech.dll ...我可以添加对Visual Studio的引用,但 using System.Speech 等不会向控制台注册,因此语音合成和...