Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/olange/artnetp5
Exploring the ArtNet protocol with Processing to receive DMX over Ethernet
https://github.com/olange/artnetp5
Last synced: 16 days ago
JSON representation
Exploring the ArtNet protocol with Processing to receive DMX over Ethernet
- Host: GitHub
- URL: https://github.com/olange/artnetp5
- Owner: olange
- License: other
- Created: 2014-09-04T22:21:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-06-22T13:57:35.000Z (over 6 years ago)
- Last Synced: 2024-10-18T23:13:19.365Z (2 months ago)
- Language: Processing
- Size: 1.89 MB
- Stars: 16
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ArtnetP5
A Processing sketch that listens to ArtNet DMX Input packets and displays the values of the 6 first channels as a graph bar.
Uses the [Artnet4j-Elios](https://github.com/Eliosoft/artnet4j-elios) library to listen to the ArtNet network. This library is a fork supporting DMX Input, based on [ArtNet4j](https://code.google.com/p/artnet4j/) by Karsten Schmidt (toxilibs).
## Sample output
## Motivations
I wrote this small Processing application to:
1. Test receiving DMX Input events from the 6 DMX channels of a [Cameo Control6](http://www.cameolight.com/en/products/dmx-controllers/control-6-6-channel-dmx-controller/) DMX lightning console received as ArtNet datagrams thru [Enttec's OpenDMX Ethernet](http://www.enttec.com/ode) (pictured above)
2. Understand the content of ArtNet datagrams, namely how and when the DMX channel values were transmitted
3. Check whether or not it was possible to have multiple applications reacting to the same DMX Input events.## What I found out
That for the illustrated setup, the ArtNet datagrams were:
* either containing the values of the 6 DMX channels of the lightning console, being sent when changing the positions of the cursors
* or the values of all 512 DMX channels of the universe/subnet, being sent from time to time.
And that it was indeed possible to have multiple application listen to the same DMX Input events, provided the ArtNet4j library was [patched to set the SO_REUSEADDR socket option](https://github.com/olange/artnet4j-elios/commit/67f4a3362d602cc97cc5849a13d64fa58124abb3) of the ArtNetServer socket listener. Otherwise only one of the two apps would see and react to the ArtNet datagrams.## See also
* [Artnet4j installation](docs/artnet4j-installation.md) _Describes how to build Artnet4j JAR and configure Enttec's OpenDMX Ethernet_