What did the Buddha say about music?
Music is not good as a meditation object as it arouses craving.
If you analyse the 40 meditation objects of Samatha, you can identify 3 kinds of objects: 
neutral objects, virtuous or holy objects and unattractive or repulsive objects. All carefully chosen to subdue certain defilements or achieve Jhanas. 


  What did the Buddha say about music?


For monks:

There are, bhikkhus, these five drawbacks of reciting the Dhamma with a sustained melodic intonation. 

Which five? 


Oneself gets attached to that intonation
Others get attached to that intonation
Householders get angry:
'Those ascetics who are followers of the Sakyans' son sing in the
same way that we do!'
There is a break in concentration for those striving [to produce] musicality
And the upcoming generations imitate what they see.


For Lay people:

7th of the 8 precepts

Nacca-gita-vadita-visukkadassana mala-gandha-vilepana-dharana-mandana-vibhusanathana veramani sikkhapadam samadiyami
- I undertake the precept to refrain from dancing, singing, music, going to see entertainments, wearing garlands, using perfumes, and beautifying the body with cosmetics.

The 8 precepts are usually practiced on Poya days and when you stay in a meditation center