原文:System.Speech使用

使用微软语音库 使用微软语音库可以很快速的制作一个小应用,比如一个唐诗的朗诵工具.本示例也是使用微软语音库,制作了一个唐诗宋词朗诵的应用,仅供加深学习印象 首先是要引入System.Speech库 然后using System.Speech.Synthesis 此后就可以使用SpeechSynthesizer实例对象来朗诵了 主要代码: using System using System.Col ...

2018-08-16 22:16 0 1444 推荐指数:

查看详情

Speech两种使用方法

COM组件使用speech: public class Speach { private static Speach _Instance = null ; private SpeechLib.SpVoiceClass voice =null; //SAPI5.1private ...

Fri Jun 28 07:07:00 CST 2013 0 18070
Android:使用Speech To Text API进行语音到文本转换

Demo程序 这个程序很简单。他有一个Mic符号按钮。点击之后我们触发Android的Speech To Text意图(Intent)显示一个对话框来接收语音输入。输入的语音然后会被转换成文本并显示到一个text view中。 第一步:在Eclipse中创建基本的Android ...

Mon Aug 13 19:40:00 CST 2012 1 4118
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM