Actually a good idea. They did a study of what sounds scared mountain lions when they triggered a motion sensor. They did different music, animal noises, etc, but the one that worked was the Talk Radio one, like Rush Limbaugh. It's really all about sounding aggressive and the wild critters will run off.
When I saw the lion eat the neighbors cat, I came in and grabbed my pistol and went back out to check shit out and he was just chilling under one of my trees relaxing after his cat snack. He literally had thing devoured in less than a minute once he sat down to eat it under my tree.
Anyways, now that I was armed when I had a lot more confidence when I yelled at him, and he took off, but kinda slow like he knows I'm no match for him, lol.
Aggressive speaking scares bears too. I've scared 2 out of my garage when the door was left open in the summer. One ran right away when I yelled, the other one almost though he was gonna take me on until I chucked my beer at him. It was kinda scary for a second even though he was probably only a couple years old. But I could tell he had some serious testosterone going, lol,