I’m not really certain why, but it seems the microphone (Jabra 410) is not working, or pocketsphinx is not recognizing my southern drawl (which isn’t, really). Any clues or suggestions?
What does happen correctly is, if I click on the WAKE button, the Jabra speaker does play the two wave files that signal the beginning and end of recording.
I strongly suspect the Jabra USB 410 speaker is the source of this issue. It records/samples at 16000 Hz by default. The resolution is to update the .asoundrc file with ‘rate 48000’ on the pcm definition.
pcm.jabra {
type hw
card 1
device 0
rate 48000
}
pcm.!sysdefault {
type asym
playback.pcm {
type plug
slave.pcm "jabra"
}
capture.pcm {
type plug
slave.pcm "hw:1,0"
}
}
pcm.!default {
type asym
playback.pcm {
type plug
slave.pcm "jabra"
}
capture.pcm {
type plug
slave.pcm "hw:1,0"
}
}
One other change, and things are working now. Switched to using Porcupine for wake word. Recognition is excellent, but unless you want to re-generate your wake-word.ppn file every thirty days, you’re stuck with “okay porcupine” as your wake phrase.