summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/mic.py4
-rw-r--r--client/speaker.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/client/mic.py b/client/mic.py
index 0c41df9..f14ebc6 100644
--- a/client/mic.py
+++ b/client/mic.py
@@ -27,7 +27,7 @@ class Mic:
Initiates the pocketsphinx instance.
Arguments:
- speaker -- used to output audio
+ speaker -- handles platform-independent audio output
lmd -- filename of the full language model
dictd -- filename of the full dictionary (.dic)
lmd_persona -- filename of the 'Persona' language model (containing, e.g., 'Jasper')
@@ -268,7 +268,7 @@ class Mic:
if average < THRESHOLD * 0.8:
break
- self.speaker.playSound("beep_lo.wav")
+ self.speaker.playSound("../static/audio/beep_lo.wav")
# save the audio data
stream.stop_stream()
diff --git a/client/speaker.py b/client/speaker.py
index 304b426..f2d4ab7 100644
--- a/client/speaker.py
+++ b/client/speaker.py
@@ -1,5 +1,5 @@
"""
-A Speaker handles output from Jasper to the user.
+A Speaker handles audio output from Jasper to the user
"""
import os, json