It is not a good idea to listen to music during meditation. When we listen to music our mind is focused on the music. Idea is to try and clear our mind of any thoughts. This certainly takes some practice getting used to but once we can meditate on a calm mind without any external stimulus, our concentration increases which has added benefits.