摘要: 语音播报实时天气一、 让文本变成声音 .Net里面自带了一个语音类库:System.Speech,调用系统的语音功能,就能实现string到语音的转换,很简单(记得先把电脑音量调大一下)://Add System.Speech reference first using System.Speech.Synthesis; var reader = new SpeechSynthesizer(); reader.SpeakAsync("I'm a programer. Hello, world! "); Hello, world! 你听到了……这里我用了SpeakAsy 阅读全文