文件名称:ekho包含多个语音报,调用看描述
文件大小:34.95MB
文件格式:RAR
更新时间:2021-10-22 22:25:56
语音 TTS
Application.DoEvents(); //SpeechSynthesizer synth = new SpeechSynthesizer(); //synth.SelectVoice("Microsoft Simplified Chinese"); 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("无资料");
【文件预览】:
ekho-5.9.exe