Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

UnitySapi

UnitySapi是一个Unity可以调用Sapi的工具。

语音开发主要是两种技术:语音识别和语音合成 Sapi是微软提供的语音引擎,win7之后系统自带,效率和质量都很好。 使用Sapi需要使用System.Speech.dll文件,因此在unity中需要拷贝这个文件到Assets目录下,但是会出现无法初始化的错误。 因此,创建一个专门调用Sapi的控制台程序。然后在Unity中和这个控制台程序进行数据交互,以达到在Unity调用Sapi的目的。

#程序工作流程 Unity使用Socket发送语音文本给控制台程序Speech,然后Speech调用Sapi进行语音合成或者语音识别。

备注:win10 64位操作系统测试通过,其他系统未测试

You can’t perform that action at this time.