Anything may be used for good or for bad, the abuse of something does not negate its proper use, and therefore, I would not condemn music itself as being intrinsically wrong, but when it is used or composed towards a bad purpose, then, of course, that particular use of it would indeed be considered a sin, I suspect. However, I believe that so long as it is kept to its proper use, either liturgically, or in clean entertainment, that it is not directed towards sin.
I'm sure music was part of the wedding feast at cana, and I don't read of it being condemned.