Skip to content

Exploring the ArtNet protocol with Processing to receive DMX over Ethernet

License

Notifications You must be signed in to change notification settings

olange/artnetP5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 library to listen to the ArtNet network. This library is a fork supporting DMX Input, based on 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 DMX lightning console received as ArtNet datagrams thru Enttec's OpenDMX Ethernet (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 of the ArtNetServer socket listener. Otherwise only one of the two apps would see and react to the ArtNet datagrams.

See also

About

Exploring the ArtNet protocol with Processing to receive DMX over Ethernet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages