parent
4236f52e32
commit
5c3efe66b1
@ -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() |
||||
|
Loading…
Reference in new issue