I only recently heard about the annoy-a-tron. Shame they don't exist any more, but if you want to annoy someone it is worth googling partly for the funny stories and product reviews and partly as a warning of how rapidly things can go out of hand!
A raspberry pi, some code and a speaker would also work