主攻ASP.NET.4.5.1 MVC5.0之重生:Web项目语音朗读网页文本,简单语音提示浏览状态

第一步 添加SpeechLib.dllhtml 下载SpeechLib.dll: 在项目中而且引用DLLpost using SpeechLib; using System.Threading; 第二步 调用并使用测试 SpVoice speech = new SpVoice();//new一个 int speechRate = 1; //语音朗读速度 int volume = 100; //音量
相关文章
相关标签/搜索