Agree.
Music is by and large about structure. What made it worth listening to was this structure combined with human imperfection in the details and once in a blue moon melodies and harmonies that sound like they are there without being actually played.
Of known composers perhaps Bach was at the time the most mathematical of them.
Within the next decade I believe algos will be able to write hit's. Already today a lot of the things we like to hear is really using technology to create soundscapes and hooks we would never be able to create as humans.