Not sure how interesting for other people but my wife didn't think this would ever work so here is the story:
- our puppy would bark in his room
- I set up a web based interface to generate commands via the Linux utility espeak
- I trained him to be quiet when he the espeak "quiet" word played
- The first time I did this from the other room and he stopped barking, my wife was impressed