简体   繁体   English

系统语音和语音

[英]System.Speech and Voices

is it possible to create portable applications from Scansoft voices .exe files ? 是否可以从Scansoft voices.exe文件创建便携式应用程序? (www.portableapps.com). (www.portableapps.com)。

and then be able to access the voices programmatically through System.Speech namespace in .NET 3.5 ? 然后能够通过.NET 3.5中的System.Speech命名空间以编程方式访问语音?

I want to do that so I don't have to take a dedicated server just to install my text-to-speech web app. 我想这样做,所以我不必安装专用的服务器即可安装我的文本语音转换Web应用程序。

Help ! 救命 !

This should be possible. 这应该是可能的。 But there might be licensing restrictions with your Scansoft voice. 但是您的Scansoft语音可能会有许可限制。 What kind of licensing do you have? 您拥有哪种许可?

I don't know that much about Portable Apps, but I do know that SAPI (the native code underneath System.Speech.SpeechSynthesizer) uses the HKLM node in the registry to look up voices. 我对Portable Apps不太了解,但我确实知道SAPI(System.Speech.SpeechSynthesizer下的本机代码)使用注册表中的HKLM节点来查找声音。 So I don't think it's possible unless Portable Apps can install some sort of shim into the registry to redirect the registry calls that SAPI will make. 因此,除非Portable Apps可以在注册表中安装某种填充程序以重定向SAPI将进行的注册表调用,否则我认为这是不可能的。

Then, of course, you do have the licensing issues. 然后,您当然会遇到许可问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM