}
function playSoundHandler(e) {
- if(e.acceleration.x > 7 || e.acceleration.y > 7 || e.acceleration.x < -7 || e.acceleration.y < -7){
+ if(e.acceleration.x > 6.2 || e.acceleration.y > 6.3 || e.acceleration.x < -6.2 || e.acceleration.y < -6.2){
audioElem.currentTime = 0;
audioElem.volume=1;
audioElem.play();