meequz / pyrohat

Laugh when silence come

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyrohat

Laugh when silence come. Thanks lleo for idea (lleo.me/blog/2011/11/27.html)

Quick start:

Put wav files with sitcom laugh into pyrohat directory.

Run pyrohat.py and see if it works fine.

If not, you can:

  • adjust microphone volume in OS settings
  • change two variables at top of pyrohat.py:
    • TIMES - time on wich calculates average level, not in seconds
    • TRESH - volume level recognized as silence

About

Laugh when silence come


Languages

Language:Python 100.0%