Sound visualization: Length of animation does not match audio file length
Some times when dealing with Audio files in blender, the viewport becomes slow due to some factors, however, the audio files is maintaining its speed and rate, so they go out of sync.

A possible solution is to enable AV-Sync, which dropes some frames in order to keep up with the sound file. Another solution might be to reduce the factors that are slowing down your experience.