Have the speaker let out a loud tone that was too high a frequency to hear.

And then you'd have to worry about dogs randomly following you around. Tongue Out