summaryrefslogtreecommitdiff
path: root/client/mic.py
diff options
context:
space:
mode:
Diffstat (limited to 'client/mic.py')
-rw-r--r--client/mic.py4
1 files changed, 2 insertions, 2 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()