Beat Detection Attempt