
This week on the project I worked on expanding the pitch generator’s capabilities, and refining the iPhone motion controls. Concerning the pitch generator, it can now generate some predefined chords to play, on top of the pre-existing option to play randomly selected notes. This adds greater variety to the music generated, and gives a performer more flexibility in creating a piece with the object. A user can now also randomly shift the register of the generated notes by flicking the ZigSim iphone to the left.

Speaking of ZigSim, I refined the controls for motion tracking. I was finding that the software would be either under or oversensitive to movement, so the slightest movement in one direction would trigger something, or I wouldn’t get anything at all. As I found, what was happening is the code was treating every single slightest input from the motion as “true”, and pumping it out very quickly. I eventually fixed the issue by adding a stricter true/false evaluation, limiting the how much data was analyzed at once, and measuring gyroscope instead of acceleration data. This fixed the oversensitivity, but I still found the code would note respond to motion in some cases. I learned however, this was because I was actually being too forceful in my movement. The program actually became much more responsive when I moved the phone with less force.
Concerning the project’s graphic generator, I added some variation to how the particles move. Before, the glowing balls would appear at random points on the screen, creating a bubbling effect. Now however, its possible to activate second mode for the graphics where the glowing balls move around the screen randomly, sort of like the classic DVD screensaver. This mode is activated by flicking the phone to the right.
Lastly, Dr. Bob and I are still having difficulty getting the project’s hardware to work. We have tried several different versions of Arduino code, but not seem to work. We have yet to to pin down what the exact issue is, but we are meeting later this week to continue working on it. Once the Arduino code and current reading circuit runs properly, touching the plasma globe will activate music, and the project will be mostly complete!















