I'm pretty sure it's illegal to wear headphones while cycling on public roads. Regardless of the law, it is a bad idea. You need to be aware of your surroundings. And if you do wear headphones, for goodness' sake don't turn the music up so damn loud you can't even hear a freaking train! In other words, don't be this guy:
A [42-year-old] bicyclist listening to his iPod was unaware of an oncoming train before it struck and killed him at a Kane County railroad crossing Sunday evening, police said... The crossing has a wooden sign marking it, but the crossing does not have an audible signal or gates, police said. "He had the iPod on, so we're going on the assumption with no gate or lights there that he didn't hear or see the train coming," Kane County sheriff's police spokesman Patrick Gengler said. The train conductor saw the bicyclist and tried to brake but was unable to stop before hitting him, Gengler said.Now that train's engineer has the image permanently etched in his mind of an oblivious guy on a bicycle getting crushed. Can you imagine watching someone about to be killed and being virtually powerless to stop it? That shouldn't be a part of anybody's job description. Please, people, at least turn down those iPods at railroad crossings. Do it for the engineers.