I've also used a hand-held marine horn to alert people that I'm approaching and that they need to move.
I strap it to the handlebars with elastics. Although the horn needs to be replaced once a year or so, it's been very effective with pedestrians, dogs, and motorists. It's so loud that even truckers take notice.