Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
js
pd-arduino
web-lighting-console
.gitignore
README.md
mmp-button.mmp
mmp-button.pd
osc-arduino.pd

README.md

wave-fanfare

Prerequisites

npm, a javascript package manager

node.js, javascript runtime (comes with npm)

osc to dmx (standalone, use for performance)

Install dependencies
cd js/
npm install

The npm install command will read the package.json in that directory to know which dependencies to install.

Run
node osc-dmx.js

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.

OSC messages

The script listens to the following OSC message formats:

/led/:x/set h s v
/led/:x/hit amp
/led/:x/play amp

Where :x in all of these is a parameter for which "player number" (indexed from 0) to send the command to.

DMX testing

To test which lights are set to which channels, uncomment this line and run the script:

// testChannels();
Assorted Knowledge
  • 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