一、 让文本变成声音 .Net里面自带了一个语音类库:System.Speech,调用系统的语音功能,就能实现string到语音的转换,很简单(记得先把电脑音量调大一下)://AddSystem.SpeechreferencefirstusingSystem.Speech.Synthesis;varreader=newSpeechSynthesizer();reader.SpeakAsync("I'm a programer. Hello, world! "); Hello, world! 你听到了……这里我用了SpeakAsync方法,也就是异步执行,不会阻塞主线 Read More
posted @ 2013-11-13 22:27 Hans Huang Views(6620) Comments(40) Diggs(38) Edit