This is Josef, shaking and swinging an accelerometer which I´ve hooked up to speakers, through the Arduino again. Accelerometers can be found in many mobile phones, in Wii-controllers etc, telling what´s up and down, how fast something is moving, and so on. Hope I´ll hang this up in school tomorrow. Enjoy the clip.
Sound
October 18, 2009
October 16, 2009
Experiments 05 – Arduino and Sound
Posted by Sven Teder under Interactive, Sensors, SoundLeave a Comment
UPDATED! -with explanations on movies

My tests turned out a bit differently then planned. I was thinking the Arduino was able to play sound on more channels, but I was able to experiment some with stereo effect and position. Through these experiments I´ve learned alot about programming. It´s easy to program with sound because it gives a direct answer if you got it right. What you want is the right response, the right tone for the right duration.
I can easily imagine the speakers being replaced with other things as some responding motion, bending or moving walls etc. Unfortunately the public test or exhibition will have to wait til next week.
First experiment is the ultrasonic sensor reading distance into the arduino wich aoutputs different two tones for different some different ranges.
Second one uses two speakers. The ultrasonic sensor is on the same side as one of them and closing up to that one, sound moves over to the other side and vice versa. Standing in the middle both speakers give a tone.
Thank you Martin for walking back and forth.