For me, listening to classical music actually helps me concentrate on my ride. Some people prefer sound of nature, but I get distracted. In summer, roads are closed to vehicles on Sundays in the National Park where I ride 99% of the time, so it's just us, the nature and a few joggers! Nothing to worry about.
If you have enough judgment, you won't put yourself or others at risk...