Hi.
I'm writing a game where the player tilt the phone to control a character.
The problem is: the music(when playing loud) and sound effect(like gun shots) disturbs the accelerometer values. This result in weird character movement.
Please give me some advice on how to solve this.
Thank you in advance!