Any Music that reminds you of the vain gatherings (like discos, mujras, parties) is Haraam to listen to even if you put it in low volume (to play in the background while you do your homework etc).
But there are good melodies also which can be used for a good purpose – some taranas and nasheeds etc.
But to be able to ascertain between the two might not always be easy and should be done carefully. It is better safe than sorry – so if you are not sure, we should avoid it.
There are some nasheed singers that start of quite fine but lead you to the wrong end. One such example was a girl famous as Noon Noon. She came up with many arabic islamic nasheeds. Unfortunately some of her recent releases are not appropriate – in one she has a quran in the hand and is playing hide and seek (mature type) in a library with boys! and does not have a heard scarf on any more.
So the bottom line is that be careful… why take chances…