The basic system functions have been made separately. I have finished testing and hooking up the moving lights and one LED bar. Also, I have made 4 patterns. When I put all the individual function into a single system, there were a lot of bugs. They could not function as they were supposed to. I had to figure out a solution.
For example, the visual patterns would conflict each other because they were made by different built-in functions, such as using background() function to clear the trace for each frame and others are designed to keep the trace. I did some research and looked at Processing’s reference to get some idea. And I used the PGrapics class to solve this issue.
I got 5 more LED bars add into the project. When connected the 6 LED Bars, 4 moving lights, and running the visual together, the visual patterns ran very slow. Every time when I add new device or function into the system, it always had new bugs. After I read the source code of dmxP512 library, I changed some parameters and they backed to normal.
Also, I learned how to use TouchOSC to make the user interface and communicate with Processing. After I got more familiar with TouchOSC and how to send the OSC message, I added more controllable parameters into TouchOSC.
For now, basically all the planned functions I have been completed, and the next step is to improve each function. If I still have time, I’ll spend time trying to figure out how to use the sound data to control the movement of the moving lights.
back to Culmination Project