CSharp使用反射调用SpVoice实现播放文本
作者:zgke / 发布于2014/7/29/ 330
使用方法 SPVoic S = new SPVoic(); S.Rate = 0; S.SpeakSave("You have selected Microsoft Sam as the computer's default voice.", @"c:/1.wav"); S.Speak("You have selected Microsoft Sam as the computer's default voice.");
Copyright © 2004 - 2024 dezai.cn. All Rights Reserved 站长博客 粤ICP备13059550号-3