System.Speech in Mono on Linux(Linux 上 Mono 中的 System.Speech)
问题描述
我正在使用 Mono 和 Monodevelop 在 Linux (KUbuntu) 中开展一个项目.我想使用 System.Speech 库,这完全可以在 Windows 7 上的 Unity 中使用 Monodevelop.在过去的几个小时里,我一直在网上进行大量查找,据我所知,System.Speech WAS 添加到单声道.
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.
我已经更新了所有单声道,mono --version
显示 4.0.2(最新版本),Monodevelop 版本显示 5.9.4(据我所知也是最新版本).这让我觉得我拥有所有开发软件的所有最新更新.
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.
我已经重新启动,创建了新项目,从 git 手动构建了 monodevelop,我能想到的一切.这一切都完成了,我右键单击 References=>Edit References=>System.Speech,没有任何显示.我再次通过在我的 Windows 机器上的 Unity 上进行了仔细检查,它确实存在.
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 是 MSFT 的 .Net 的一部分,依赖于本地音频驱动程序、TLS 引擎等......并且仅在 Windows 上可用.
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.
我相信 4/5 年前在 Mono 中使用 Speech 命名空间完成了一些工作,但在当前版本中,此命名空间中没有任何内容.
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.
如果当前不可用,您需要查看 Linux 上的第三方语音库并为它们编写一些 C# 包装器.
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 上 Mono 中的 System.Speech的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Linux 上 Mono 中的 System.Speech
基础教程推荐
- 将 Office 安装到 Windows 容器 (servercore:ltsc2019) 失败,错误代码为 17002 2022-01-01
- 有没有办法忽略 2GB 文件上传的 maxRequestLength 限制? 2022-01-01
- c# Math.Sqrt 实现 2022-01-01
- 如何在 IDE 中获取 Xamarin Studio C# 输出? 2022-01-01
- SSE 浮点算术是否可重现? 2022-01-01
- 如何激活MC67中的红灯 2022-01-01
- 为什么Flurl.Http DownloadFileAsync/Http客户端GetAsync需要 2022-09-30
- rabbitmq 的 REST API 2022-01-01
- MS Visual Studio .NET 的替代品 2022-01-01
- 将 XML 转换为通用列表 2022-01-01