tnblog
首页
视频
资源
登录

使用 微软自带语音合成类库

1951人阅读 2018/12/13 16:00 总访问:15348 评论:0 收藏:0 手机
分类: DotNet捣鼓


             

//引入语音合成名称空间
using System.Speech.Synthesis;
class A
{
    void test1()
    {
    //实例化 并指定字符串 播放合成读音
        SpeechSynthesizer sp = new SpeechSynthesizer();
            sp.Speak("中国");
    }
}


评价
Amazing everday
排名
6
文章
6
粉丝
16
评论
8
{{item.articleTitle}}
{{item.blogName}} : {{item.content}}
ICP备案 :渝ICP备18016597号-1
网站信息:2018-2024TNBLOG.NET
技术交流:群号656732739
联系我们:contact@tnblog.net
欢迎加群交流技术