Holy crap, I put one of those speakers in my garden to keep my trashy neighbors from walking their dogs through it. I had to pull it out because the motion sensor kept going off and hurting youngsters ears. it’s supposed to be a dog whistle, I couldn’t hear it.
It seems counter productive to me to just chase kids out of a park at night, without offering somewhere else to go.