Analysis of the Evolution of Musical Form