Web-Server that receives ArtNet DMX and translates it to OSC Messages.
Currently, 1 DMX channel is read and its value is sent as OSC message.
The general Signal Flow is
DMX (RS232) -> Interface -> ArtNet(UDP) -> PC with this Program running -> OSC(UDP)
Currently, exactly 1 DMX channel is routed to exactl 1 OSC message and all configuration is hardcoded in app.js.
All parameters are defined by variables in the Configuration-section in app.js
Network Settings:
UDP_PORT_ARTNET: Listening-Port for ArtNet Input -6454is standard for ArtNetUDP_PORT_OSC: Port to which the OSC messages are sent - has to be configured to match the receiver, default is3333IP_OSC_TARGET: IP of the OSC receiver - has to be configured, default is127.0.0.1akalocalhost
Routing Settings:
DMX_UNIVERSE: Only messages in this DMX Universe are forewarded. Default is0DMX_SEQUENCE: Only messages in this DMX Sequence are forewarded. Default is0DMX_PHYSICAL: Only messages in this DMX Physical are forewarded. Default is0DMX_CHANNEL: The channel that should be mapped to the OSC message. Default is0(Which is the first channel)OSC_MSG_NAME: The OSC message in which the value should be sent. Has to be configured to match the receiver.
This program is implemented as a node.js-module - therefore, node.js has to be installed on the machine.
- In a commandline terminal, go to the root folder of this project
- Install the dependencies by running
npm install - Done
- In a commandline terminal, go to the root folder of this project
- Start the program by running
npm start - Done
Some useful Debugging Tools: