The rhythmic structure of music