简体   繁体   English

Linux上Mono中的System.Speech

[英]System.Speech in Mono on Linux

I'm working on a project in Linux (KUbuntu) using Mono and Monodevelop. 我正在使用Mono和Monodevelop在Linux(KUbuntu)中进行项目。 I want to use the System.Speech library, which is completely possible with Monodevelop in Unity on Windows 7. I've been doing a lot of looking online over the past few hours and as far as I can tell System.Speech WAS added to Mono. 我想使用System.Speech库,在Windows 7上的Unity中,Monodevelop完全可以使用。单声道

I've updated all of mono, mono --version is showing 4.0.2 (latest version), and Monodevelop version is showing 5.9.4 (as far as I can tell that also is the most updated version). 我已经更新了所有mono, mono --version显示4.0.2(最新版本),而Monodevelop版本显示5.9.4(据我所知这也是最新版本)。 This is making me think that I have all of the latest updates for all the development software. 这使我认为我拥有所有开发软件的所有最新更新。

I've rebooted, created new projects, manually built monodevelop from git, everything I can think of. 我重新启动,创建了新项目,从git手动构建了monodevelop,我能想到的一切。 That all being done, I right click on References=>Edit References=>System.Speech, and nothing is showing up. 完成所有这些后,我右键单击References => Edit References => System.Speech,没有任何显示。 Again I double checked by trying it on Unity on my windows machine, and it's definitely there. 我再次通过在Windows机器上的Unity上进行尝试进行了仔细检查,它肯定在那里。

Does anyone have any idea what's going on? 有人知道发生了什么吗? I'm not really sure what other details to give for something like this but I'm clearly missing something. 我不太确定要为类似的内容提供哪些其他详细信息,但我显然缺少了一些内容。 I'm more than happy to post any other information you would need, and I thank you infinitely for any help! 我非常乐意张贴您需要的任何其他信息,并无限感谢您的帮助!

System.Speech is a part of MSFT's .Net and is dependent on native audio drivers, the TLS engine, etc... and is only available on Windows. System.Speech是MSFT .Net的一部分,依赖于本机音频驱动程序,TLS引擎等,并且仅在Windows上可用。

I believe there was some work done in Mono with the Speech namespace 4/5 years ago, but there is nothing in this namespace in the current releases. 我相信4/5年前在Mono中使用Speech命名空间已经完成了一些工作,但是在当前版本中,此命名空间中没有任何内容。

You would need to look at third party speech libs on Linux and write some C# wrappers for them if they are not currently available. 您需要查看Linux上的第三方语音库,并为它们编写一些C#包装器(如果它们当前不可用)。

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

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