产品名称:文字音频文件播放接口 (Suprui TTS DLL)
    当前版本:V1.00
    开发团队:南京超锐信息技术有限公司
    技术支持:kefu@suprui.com
    在线支持:983550041(QQ)
    电话支持:025-66654879
二、功能说明
    该DLL是通过调用Windows语音合成引擎(SPEECH SYNTHESIS ENGINE)进行语言合成,将文本处理后通过扬声器用近似于人的声音“读”出来,通常还可以通过改变对语音引擎的设置改变“说话” 的速度,声音频率;另外还支持播放音频文件(.wav,.mp3等),文字音频文件混读,目前我们开发的DLL支持C#、Delphi、VB、Python、JAVA语音进行调用,让您轻松实现会说话的程序。
三、应用范围
    1)、排队叫号
    2)、语音告警通知
    3)、语音提示
四、使用说明
    1)、ttsPlayer.dll为java程序专用,ttsVoicer.dll为标准接口可供C#、Delphi、VB、Python等程序调用;我们还为您制作了多个程序开发语言调用的DEMO,需要请联系:sales@suprui.com。
    2)、java程序时需将ttsPlayer.dll拷贝到你的java项目的bin目录下,在您的程序   (VoiceTextPlayer.java)里调用该接口,例子如下:
//VoiceTextPlayer.java
//ttsDemo.jar为JAVA版本的Demo
package com.suprui.action;
public class VoiceTextPlayer {
    //调用动态链接库
   static{
      System.loadLibrary("ttsPlayer");
      System.gc();
    }
    public native int ReadText(String PalyStr,int TypeID); //PalyStr-文字,TypeID-0=英文,1=中文
    public native int PlayFile(String FileName);//FileName-音频文件的路径及名称
    public static void main(String[] args) {
        VoiceTextPlayer hw = new VoiceTextPlayer();
        int x=hw.ReadText("欢迎您使用我们的语音接口!",1);
        if(x==1){
           System.out.println("OK");
        }
        else{
           System.out.println("NO");
        }
        int y=hw.PlayFile("ding.wav");
        if(y==1){
           System.out.println("OK");
        }
        else{
           System.out.println("NO");
        }
   } 
}
    3)、其他程序调用时,使用ttsVoicer.dll拷贝至程序运行的目录下,下面是C#程序调用该接口,例子如下:
//Program.cs
//ttsDemo.exe为C#版本的Demo
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace VoiceTextPlayer
{
    class Program
    {
        [DllImport("ttsVoicer.dll", EntryPoint = "ReadText")]
        static extern int ReadText(string PalyStr, int TypeID); //PalyStr-文字,TypeID-0=英文,1=中文
        [DllImport("ttsVoicer.dll", EntryPoint = "PlayFile")]
        static extern int PlayFile(string FileName);//FileName-音频文件的路径及名称
        static void Main(string[] args)
        {
          int x=  ReadText("欢迎您使用我们的语音接口!", 1);
          if (x == 1)
          {
              Console.WriteLine("OK");
          }
          else {
              Console.WriteLine("NO");
          }
          int y = PlayFile("ding.wav");
          if (y == 1)
          {
              Console.WriteLine("OK");
          }
          else
          {
              Console.WriteLine("NO");
          }
          Console.ReadLine();
        }
    }
}
五、接口下载
    1)、本地下载
    2)、软行天下下载 (截止2015年04月15日 共有 8515 人次下载)
六、部分客户(排名不分先后顺序)
    北京中联创达通信技术有限公司  深圳市置辰海信科技有限公司