Calculate BPM by tapping