Wow. Every comment except one trashed you.
Certainly it would be safer if pedestrians (like me!) didn't listen to music while walking, but I'm not willing to concede the principle that traffic laws be obeyed.
Just because I didn't do every last proactive thing to avoid an accident doesn't excuse the person who caused it.