Phase transitions: the math behind the music
thedaily.case.edu
thedaily.case.edu
It feels like a whole article made up of first paragraphs!
If you want to explore that space, Tymoczko's A Geometry of Music is more rewarding.
But this misses the point. Music isn't just mathematical consonance and dissonance. Music is the practice of using consonance, dissonance, timbre, rhythm, form, and historic and cultural references, with aesthetic intent - i.e. creating metaphors and other complex cognitive experiences out of musical material.
The difference between a composer and a dabbler is that composers either work at this level consciously and deliberately, or they have unusually effective musical instincts and use them to decide if something "sounds right" or "works."
Any naive mathematical description - which includes all of the work on ML in music - misses this ability of musical material to create those extra levels of expression and meaning.
As of yet :)