用于编写您自己的 DMX 控制软件的 DMX 接口
我有一个非常具体的问题:我想编写自己的 DMX 软件来控制我们的 DMX 灯具。有谁知道可以使用的接口吗?如果有任何框架可以使用它,那就太好了,这样我只需将通道和值发送到接口即可。
I have a very specific problem: I want to write my own DMX-Software to control our DMX-fixtures. Does anyone know a interface to use? It would be great if there would be any Framework for using it, so that I only have to sent the channel and the value to the interface.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我注意到你的问题是针对 Mac 的,但我编写了一个 Windows 特定的 C++ 程序,它可能很容易修改。它改编自 Enttec OpenUSB 网站上的 C# 示例。看:
https://github.com/chloelle/DMX_CPP
I noticed your question was for Mac, but I wrote a Windows specific C++ program, which could probably be easily modified. It's adapted from the C# example on Enttec's OpenUSB website. See:
https://github.com/chloelle/DMX_CPP
有一些非常好的信息和信息代码示例(包括我编写的工作类)位于:Lighting USB OpenDMX FTD2XX DMXking
最终,您最终在字节数组中设置字节值(0 到 255[FF](最亮)之间)。
实现淡入淡出或追逐等简单效果相当简单。
您需要使用 USB 控制器将程序指令转换为实际硬件。
我建议使用一个简单的 iPhone 应用程序与 Web 服务通信,然后与硬件进行交互。
上面的代码示例是 C# 语言,但将向您展示如何与 DMX 控制器交互
There's some really good information & code samples (including a working class that I wrote) here: Lighting USB OpenDMX FTD2XX DMXking
Ultimately, you end up setting byte values (between 0 and 255[FF] (brightest) in a byte array.
It's fairly trivial to implement simple effects such as fades or chases.
You would need to use a USB controller to convert your program's instructions to the actual hardware.
I suggest using a simple iphone application talking to a webservice which then interacts with the hardware.
Code samples above are in c# though will show you how to interact with a DMX controller