This possibly will work for you.
accelerratorAlarm.aia (48.7 KB)
The simple acceleration example app recognizes Tilting up and down and left/right using the x and y accel. No need to use z axis and compare it to any other axis. Plays a sound when acceleration is within specific values.
Experiment with to make it perform as you want.
