Music is and is not mathematic... Sorry for the paradox...
Music as a written or translation of sounds by marks is mathematic..
As a playing live event, it is not...
I will say it in a more deeper way :
Mathematic is music at the end , but music is never only mathematic to begin with ..
Music is linked to non commutative mathematic...And because of this as all musical qualities studied in psycho-acoustic and produced by musicians or by the speaker of any language, are not reducible to sounds in the Fourier meaning window, which is a linear commutative "country", music is related in the many culture and in Europe to ethical and esthetical FREE CHOICES that reflect and depict human evolution in a non linear Non Fourier way in a time dependant domain... ( mathematic is time independant )
History of music is anything but a meaningless history...Every choices in music reflect deep meanings at ALL LEVELS of thinking..
Then A. I. will be able to create and imitate any sounds existing, musical one included... But there will be there no ethical and no esthetical reflected choices... This history will disapear under "pleasurable meaningless imitated sounds "...
Most people are unable to read music as ethical and esthetical history... The Choices of Beethoven are meaningful even philosophically for the HUMAN RACE... not for a machine...
Imitation will kill creativity...
«Music is a NEW mathematic who wrote itself spontaneously through the gesturing producing and receptive body »-- Anonymus African musician dancing while playing Yoruba talking drum...