Page 216 - Hacking Roomba
P. 216

Chapter 10 — Using Roomba as an Input Device                  197





























                             FIGURE 10-6: RoombaTheremin tracking tilt changes to modify pitch














                             FIGURE 10-7: The three main positions when performing with RoombaTheremin



                             Better Sound with the Ess Library

                             The necessary time delays between each note sent to Roomba makes for a less-than-convincing
                             theremin simulation. Instead of a smooth tone characteristic of a theremin, the best that can be
                             done on Roomba is a repetitive beep-beep-beep that is limited by the time it takes the robot to
                             execute the SONG and PLAY commands.
                             An optional library for Processing called Ess makes it really easy to load, play, and manipulate
                             sounds on your computer. It is built on JavaSound (the standard Java sound API), but is much
   211   212   213   214   215   216   217   218   219   220   221