C# 语音读取

using System.Speech.Synthesis;//需要引用的命名空间

string str = "呀呀呀 呀呀呀 我是什么什么的小画家";
SpeechSynthesizer synth = new SpeechSynthesizer();
synth.Speak(str);

 

posted @ 2020-07-02 19:33  卧虎  阅读(307)  评论(0)    收藏  举报