Personal Accomplishments
I spent the majority of this week helping with the lighting logic, working on testing functionality, and integrating components of the project together. In terms of the lighting logic, I was able to create the functionality for two main functions: the select_lights and the select_function functions. The select_lights function determines which lights in the gigbar2 will be activated for the upcoming lighting command. The logic behind this decision was based purely on the normalized energy values. It sets different thresholds of energy and depending on the energy threshold it determines how many lights and which lights should be activated. Ranking from lowest energy to highest energy we have. Lasers, laser+derbys, pars, pars and derbys, pars derbys and lasers, and finally all lights together. For the select_function function, I used the standard deviation in energy levels as the main input. I then applied a local minimum calculator and used all the local min as the points where we would have all the lights function in unison. This allowed us to have big gestures with all the lights at the same time as the music reaching a new segment.
In terms of testing we were able to test that the lights can change with music in time. This is one of the main goals that we wanted to achieve.
On Track?
We should be on track for the final presentation and demo. We have a little bit of integration work left to finish up like integrating the UI, but otherwise we have a pretty established workflow for how a user would interact with our program and light set.
Goals for Next Week
Our goal for the next week is to finish up the integration and start building demo files. These demo files will allow us to isolate different auditory features and show the impact of those auditory features on the lights. This will be similar to what we did during our interim demo but it will include more than just amplitude and frequency. It will include each lever that we use to make decisions including energy levels, amplitude, frequency and tempo.