Pay attention to the road. Don't listen to music and ride.
But if you're going to do it, why not use your phone to play music? It'll switch over when you answer a call.