Arahants and Buddhas would experience the pleasantness of music but they would not take a liking to them or enjoy them, because the underlying tendency of greed had been destroyed when they became liberated.
Instead, they would see pleasant feelings as suffering. Of course, as liberated persons, they are free from craving, clinging, greed and suffering.
“There are three feelings: pleasant, painful, and neutral feeling.”
“What are these three feelings?”
“Anything felt physically or mentally as pleasant or enjoyable. This
is pleasant feeling. Anything felt physically or mentally as painful
or unpleasant. This is painful feeling. Anything felt physically or
mentally as neither pleasurable nor painful. This is neutral feeling.”
“What is pleasant and what is painful in each of the three feelings?”
“Pleasant feeling is pleasant when it remains and painful when it
perishes. Painful feeling is painful when it remains and pleasant when
it perishes. Neutral feeling is pleasant when there is knowledge, and
painful when there is ignorance.”
“What underlying tendencies underlie each of the three feelings?”
“The underlying tendency for greed underlies pleasant feeling. The
underlying tendency for repulsion underlies painful feeling. The
underlying tendency for ignorance underlies neutral feeling.”
“Do these underlying tendencies always underlie these feelings?”
“No, they do not.”
“What should be given up in regard to each of these three feelings?”
“The underlying tendency to greed should be given up when it comes to
pleasant feeling. The underlying tendency to repulsion should be given
up when it comes to painful feeling. The underlying tendency to
ignorance should be given up when it comes to neutral feeling.”
MN 44
“Mendicants, there are these three feelings. What three?
Pleasant, painful, and neutral feeling.
Pleasant feeling should be seen as suffering. Painful feeling should
be seen as a dart. Neutral feeling should be seen as impermanent.
When a mendicant has seen these three feelings in this way, they’re
called a mendicant who sees rightly, has cut off craving, untied the
fetters, and by rightly comprehending conceit has made an end of
suffering.
SN 36.5