I always announce my presence farther back for slow riders and closer for someone near my pace. I try to time it for about 5 to 8 seconds. This will give them the time to veer into my line as they turn to look and recover (hopefully) their own line.
Sometimes it's pointless due to earphones and general oblivion.
__________________