A system that analyzes music to detect musical beats and to rectify beats
that are out of sync with the actual beat phase of the music. The music
analysis includes onset detection, tempo/meter estimation, and beat
analysis, which includes the rectification of out-of-sync beats.