diff --git a/speech_daemon.py b/speech_daemon.py index 42a18ca..23e4f00 100755 --- a/speech_daemon.py +++ b/speech_daemon.py @@ -1,3 +1,17 @@ #!/usr/bin/env python -import lib.speech.speech +from modules.hue.hue_remote import parseCommand +from modules.speech.speech import voiceInput + +class speech_daemon(object): + voiceInpObj = None + + def __init__(self, deviceIndex=30): + voiceInpObj = voiceInput() + + voiceInpObj.setMuted(False) + + voiceInpObj.start(deviceIndex) + +if __name__ == "__main__": + daemon = speech_daemon()