summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-07-27 00:14:17 +0000
committerschneefux <schneefux+commit@schneefux.xyz>2014-07-27 00:14:17 +0000
commit526f86a138a2145c4342e76e2d7dd795f60013a7 (patch)
treef0df570ea606300f12e5cadf5f894c1bb5874d2f /client
parent415c32bfb02b25d510aca115ca5f075e3cda0c36 (diff)
downloadjasper-client-526f86a138a2145c4342e76e2d7dd795f60013a7.tar.gz
jasper-client-526f86a138a2145c4342e76e2d7dd795f60013a7.zip
Cleanup before pull request.
Diffstat (limited to 'client')
-rwxr-xr-xclient/conversation.py1
-rw-r--r--client/mic.py1
-rw-r--r--client/notifier.py4
3 files changed, 2 insertions, 4 deletions
diff --git a/client/conversation.py b/client/conversation.py
index 9f7cc22..bad5073 100755
--- a/client/conversation.py
+++ b/client/conversation.py
@@ -51,7 +51,6 @@ class Conversation(object):
if threshold:
input = self.mic.activeListen(threshold)
- print "I just heard '%s'" % input
if input:
self.delegateInput(input)
else:
diff --git a/client/mic.py b/client/mic.py
index 4798790..8d66053 100644
--- a/client/mic.py
+++ b/client/mic.py
@@ -180,7 +180,6 @@ class Mic:
"""
AUDIO_FILE = "active.wav"
- #RATE = 16000
RATE = 44100
CHUNK = 1024
LISTEN_TIME = 12
diff --git a/client/notifier.py b/client/notifier.py
index 5e33c5b..341ae04 100644
--- a/client/notifier.py
+++ b/client/notifier.py
@@ -1,5 +1,5 @@
import Queue
-#from modules import Gmail
+from modules import Gmail
from apscheduler.scheduler import Scheduler
import logging
logging.basicConfig()
@@ -24,7 +24,7 @@ class Notifier(object):
]
sched = Scheduler()
- #sched.start()
+ sched.start()
sched.add_interval_job(self.gather, seconds=30)
def gather(self):