Coder Social home page Coder Social logo

artnetp5's Introduction

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

artnetp5's People

Contributors

olange avatar

Stargazers

 avatar Matthias Lein avatar  avatar Yuki ANAI avatar Leó Stefánsson avatar wendeurick avatar Tom avatar Jeronimo Barbosa avatar  avatar Serhii Kocherhan avatar Matt Spendlove avatar Jeremias Volker avatar Frankolious avatar Luís Leão avatar Alex Collignon avatar

Watchers

Yuki ANAI avatar  avatar James Cloos avatar

Forkers

johnsel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.