Normally you let the bicyclist/walker/jogger ahead of you know that you are about to pass them by shouting "passing" or even by just ringing the bell on your bike. This is done as a courtesy since many people do get scared/shocked if someone just zooms by them without notice. It's also a safety issue since the person could accidentally or knowingly go to the left side of the path and you'd run into them. For example, they could see a cute duckling on the left grass and start walking over towards it forgetting about looking behind them and bam, an accident!
Ride to the right on multi-use paths and warn other cyclists, walkers, runners and path users before overtaking and passing them. Call out “passing” or ring your bike bell.
From https://bicyclecolorado.org/learn/colorado-bicycle-laws/
However, now a days many people (usually younger people) will be blasting music in their ears through their headphones. So I've noticed that many times these people don't hear me shouting at them that I'm passing.
Here's three options I've came up with:
I could just keep going at the same fast speed and just blame them if they get hit since they are the ones that thought their music was more important than safety or listening to the sounds of nature.
I could slow down to a safer speed and slowly pass them reducing the chances of an accident.
I could carry some small pebbles with me and then just chuck 1 or 2 of them about 6-8 feet ahead of them to grab their attention.
I don't really prefer any of these three options, is there a better way to grab their attention when shouting doesn't work, while maintaining the same faster speed?