Linux上单声道的System.Speech [英] System.Speech in Mono on Linux

查看:127
本文介绍了Linux上单声道的System.Speech的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Mono和Monodevelop在Linux(KUbuntu)上开发一个项目。我想使用System.Speech库,这完全可以在Windows 7的Unity中使用Monodevelop。在过去的几个小时内,我一直在做很多的在线查看,并且据我所知可以将System.Speech添加到单声道。

我已经更新了所有单声道, mono --version 显示了4.0.2(最新版本)和Monodevelop版本显示5.9.4(据我所知,也是最新版本)。这使我认为我拥有所有开发软件的所有最新更新。



我已重新启动,创建了新项目,从git手动构建monodevelop,我能想到。这一切都完成了,我右键点击References => Edit References => System.Speech,没有任何显示。我再次通过在Windows机器上尝试它在Unity上进行检查,并且它绝对存在。



有人知道发生了什么吗?我并不确定还有什么其他细节可以解决这个问题,但我显然错过了一些东西。我非常乐意发布您需要的任何其他信息,并且我非常感谢您的帮助! 解决方案

a href =https://msdn.microsoft.com/en-us/library/gg145021(v=vs.110).aspx =noreferrer> System.Speech 是MSFT的一部分。 Net并依赖于本机音频驱动程序,TLS引擎等等,并且仅在Windows上可用。



我相信4/5年前在Mono的Speech命名空间中完成了一些工作,但是在当前版本中这个命名空间没有任何内容。



您需要查看Linux上的第三方语音库,并为它们编写一些C#包装器,如果它们当前不可用的话。


I'm working on a project in Linux (KUbuntu) using Mono and Monodevelop. 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.

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). 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. That all being done, I right click on References=>Edit References=>System.Speech, and nothing is showing up. Again I double checked by trying it on Unity on my windows machine, and it's definitely there.

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.

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.

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上单声道的System.Speech的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆