Music is a creative thing and fundamentally comes from the creative side of the brain. AI and algorithmic understanding is logical and from the other side of the human brain.
There is no logical steps for creating music (or art) and certainly something that could be modelled in a mathematical algorithm (aside from fractals). The most AI could ever achieve would be to take a created song and identify loops (as per existing DJ equipment).
Not surprised it didn't work.