The math of notes and chords is pretty well understood. But the math of sequences of note and chords that make up a song has a lot opportunity for improvement.
Imagine a future computer program that mathematically creates quality music of your liking. Change a few parameters in the equation and out pops highest quality rock music, or country, or jazz, or blues, or classical, or surf music, or dance music, or whatever, with what we perceive as feeling.
Maybe one our genius steemian programers will figure it out for us.