Automatically match the beat of an audio track to transitions