![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
声音
试行
学而时用之!
展开
-
C#实现播放自定义的文本声音(文字转语音)
private void Button_Test2_Click(object sender, EventArgs e) { //引入using System.Speech.Synthesis; SpeechSynthesizer voice = new SpeechSynthesizer(); //创建语音实例 voice.Rate = 0; //设置语速,[-10,10] voice.V..原创 2021-08-05 17:08:39 · 805 阅读 · 0 评论 -
C#窗体实现语音代码
//SVSFUnusedFlags = -512, // SVSFDefault = 0, //SVSFParseAutodetect = 0, //SVSFlagsAsync = 1, //SVSFPurgeBeforeSpeak = 2, //SVSFIsFilena...原创 2019-03-22 17:18:19 · 707 阅读 · 0 评论