The Eyes Have It . When you know they see you because your eyes have met theirs of an oncoming driver, then you make your move or not.
Practicing peripheral vision as you ride in traffic should include heightened listening which, when unimpeded, takes in the full 360 degrees. Wearing ear buds is like taking your helmut off.
Being polite and considerate to cars and pedestrians whenever possible, telegraphs the public contract of mutual safety.