C 语言的基本 OSC 教程?使用什么库?
我想学习如何编写最简单的服务器/客户端 C++ 命令行应用程序,以便使用 OSC(开放声音控制)将几行数据从一个应用程序实时发送到另一个应用程序。我想让它在本地主机模式或通过网络工作,但我认为在 OSC 中这只是指定的 IP 地址的问题。
我对OSC一无所知,而且官方页面似乎有点含糊。在这个页面上写着:
CNMAT 的开源库 构建 OSC 数据包:这就是全部 如果您想要您的申请,您需要 能够格式化 OSC 数据包 通过网络发送。 http://archive.cnmat.berkeley.edu/OpenSoundControl/src/libOSC/
但这只是 2003-2004 年的一些文件,绝对不是我计划用来学习 OSC 的东西。然后它介绍了OSC Control Kit,但在另一个页面上它说它已经过时了并强烈建议不要使用控制套件。
也许这是最好的页面:http://opensoundcontrol.org/guide-osc-libraries 其中列出了库并给出了一些意见,但我仍然不知道应该从 4 个库中选择哪个库。
我想学习/使用的是一个简单的、跨平台的、广泛支持的库,我可以在 Visual C++ 中使用2010 用于构建命令行应用程序。 您有什么建议?您可以使用该库编写或链接教程吗?
I would like to learn how to write the simplest server/client C++ command line application for sending a few lines of data from one application to the other in real-time, using OSC (Open Sound Control). I would like to make it work in localhost mode or over the network, but I think in OSC its just the question of the IP address specified.
I don't know anything about OSC, and the official page seems a bit ambiguous. On this page it says:
CNMAT's open-source library for
constructing OSC packets: This is all
you need if you want your application
to be able to format OSC packets for
sending over the network.
http://archive.cnmat.berkeley.edu/OpenSoundControl/src/libOSC/
But that is just a few files from 2003-2004, definitely not something I would plan on using for learning OSC. Then it introduces OSC Control Kit, but on another page it says that its out-dated and strongly suggest against using the control kit.
Maybe this is the best page: http://opensoundcontrol.org/guide-osc-libraries which lists libraries and gives some opinion on them, but I still don't know which library I should choose out of the 4.
What I would like to learn/use is a simple, cross-platform widely supported library that I could use in Visual C++ 2010 for building command line applications. What do you suggest? Can you write or link a tutorial using that library?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我们使用 oscpack 作为跨平台 osc 库。
https://code.google.com/archive/p/oscpack/downloads
我们正在 Linux、Windows 和 MacOSX 上使用它,并且非常高兴。使用起来很简单
并且效果很好。
We are using oscpack as a cross plattform osc library.
https://code.google.com/archive/p/oscpack/downloads
we are using it with Linux, Windows and MacOSX and are quite happy. It's simple to use
and works well.
OSC 库是用 C++ 编写的,但包含一个可在大多数 Windows 开发环境(例如 VisualBasic)中使用的 ActiveX 控件。此外,OSC 库已移植到 Delphi
http://www.hammersound.net/osc.html
The OSC Library is written in C++, but an ActiveX control is included that can be used from most Windows development environments (such as VisualBasic). Also, the OSC Library has been ported to Delphi
http://www.hammersound.net/osc.html