That still doesn't change the fact that art and music are poor analogies. I struggle with the best way to describe this, but at the end of the day, perhaps the best analogy I can give is that the purpose of art and music is to share the artist's thoughts and feelings with his audience. It's completely subjective. Programming, on the other hand, is more utilitarian. No one cares how beautiful the underlying code is, user care only if the damn thing works the way it's expected. Learning to code well is important for the inevitable maintenance, but at the end of the day, if the program doesn't work, few people will appreciate it.
The reason people use analogies for programming is it's not as common in the general population so we need something they can latch onto that they do no. Music and art are deeply embedded in everyone's knowledge, so they're easy analogies. Math isn't as deeply embedded so it's not as useful unless the person has a background in math.
Even then, I've taught people with solid math or engineering backgrounds that still struggled with programming concepts. Programming is just weird and hard to explain.