Interactive Sound Installation with sensors

Hello everybody!
I' m working on an interactive sound installation using an 'Arduino Uno (Rev 3)' and a 'MPU-6050' sensor to collect and process data. The Arduino then sends the raw data from the sensor to the program 'Max/Msp', a coding environment sspecifically related to music and visuals.
The patch in 'Max/Msp' works according to the position of the mouse on the screen; moving the mouse, the music changes.
Now, since I would like to have a person instead of the mouse, I though that an accelerometer+gyro (MPU-6050 in my case), could help me to simulate the movement of the mouse if given to a person that would walk around the space where the installation takes place. The problem is that as I stop moving the a+g, the data value goes back to zero, basically coming back to the starting position.
Has anybody ever worked on such a project? Anybody that could hep with some nice suggestions?

Thank you for your time,

Marco

To get position from an accel one must integrate the accel data to get velocity and integrate the velocity data to get position. See this page for more information..

A quick search should yield heaps of attempts of doing just that: using an accelerometer to find position. Long story short: that 's not going to work, and for your next question: accurate indoor positioning is VERY hard.

You can have a look at the Kinect - that XBOX game controller of yonder. Worked quite well. I have seen projects where it was used together with an Arduino, but the how is for you to figure out yourself, can't help with that.

I am also made a project of interactive sound installation using an Ubitrack sensor to collect and process data. Thank you to sharing information about your project.