Grabbing the attention of the person ahead of you while bicycling 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?
You already known the answer (2), but do not seem to care much for it.  The reality is that you are the fastest user on the shared path thus you bear the most responsibility. 

I would suggest


When approaching, slow down to an appropriate speed.
Make an attempt to notify (bell or calling out), even if they have head phones on.
If they do not respond or move, then further adjust your speed and position on the path appropriately to ensure you can safety pass.


Because you are moving faster, you have the most momentum and will therefore inflict the most damage in the event of an accident.  If the other party is unaware of your presence then you bear most of the responsibility here. (A couple weeks ago I attended a multi-use path crash where one user had their face caved in due to the speed of the other user.  You would be surprised the damage that can be inflicted.)

The reason I would call out or ring a bell even if they may not hear you is liability in the event of an accident.  

Finally, it pains me that many complain about the way that some motorist bully cyclists on shared road ways, then go on and do the same to pedestrians or other slower users on shared pathways.