Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 926 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 926 Bytes

No Bella No

sceenshot1 This is used to train Bella, my puppy. Bella barks when I am not with her, so annoying. I'd like to play an audio saying 'NO Bella!' when she barks because she is at least trained to understand 'No'. I use web audio apis and webrtc to build this. Also, a motion detector is implemented. It detects motion and take a screenshot. I haven't got an idea on how to use it to monitor Bella yet :)

How to use

  1. Git clone this project
  2. Go to the directory
  3. Use a web server to serve it. For example, python -m SimpleHTTPServer
  4. Open Firefox and go to 0.0.0.0:8000 (this may vary)
  5. Select audio file(s) you want to play when threshold meets, they are played randomly.
  6. Set volume and frequency thresholds. Notice frequency has 256 levels only.

Future work

  1. Use the motion detector wisely.
  2. Fix cross-browser issue. Currently it works only on Firefox.