Figuring out how to use tempo, meters, and beats to recognize the length of one measure in the audio