osc to dmx (standalone, use for performance)
cd js/ npm install
npm install command will read the
package.json in that directory to know which dependencies to install.
The script will begin listening to OSC messages on port
54321. It will also detect or prompt for the correct serial port to open a connection to the Enttec USB DMX Pro.
Once everything is connected it will continuously have an input prompt open for setting the lighting cue number.
The script listens to the following OSC message formats:
/led/:x/set h s v /led/:x/hit amp /led/:x/play amp
:x in all of these is a parameter for which "player number" (indexed from 0) to send the command to.
To test which lights are set to which channels, uncomment this line and run the script:
- Only cu (not tty) serial ports work,
- the QolorPoints have to be showing the dark green color on the Show DMX ID indicator (and not blinking)
- Turn off energy saver so the laptop doesn't go to sleep