Type type = Type.GetTypeFromProgID("SAPI.SpVoice"); dynamic spVoice = Activator.CreateInstance(type); for (int i = 0; i < spVoice.GetVoices(string.Empty, string.Empty).Count; i++) { if (spVoice.GetVoices(string.Empty, string.Empty).Item(i).GetDescription(0) == "ScanSoft Sin-Ji_Full_22kHz") { spVoice.Voice = spVoice.GetVoices(string.Empty, string.Empty).Item(i); } } spVoice.Rate = 3; spVoice.Speak("无资料");
2021-10-25 18:01:26 87.35MB 粤语 语音报
1
微软的粤语语音包官方链接实效了,这里补充一个下载链接,符合SAPI的粤语语音包 MSSpeech_TTS_zh-HK_HunYee.msi
2021-06-07 14:09:15 16.23MB SAPI tts 粤语语音包 MSSpee
1