Wake word not being recognized?

Rhasspy version: 2.4.14
Hardware: RPi3B+
OS: Raspbian Buster

profile YAML:

    "wake": {
        "pocketsphinx": {
            "keyphrase": "eulamae",
            "threshold": "0.3"
        },
        "system": "pocketsphinx"
    }

Definition of keyphrase:

eulamae Y UW L AH M EY

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? :upside_down_face:

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. :frowning:

Check this link for other predefined wake words. Maybe you will choose “terminator” :wink:
It’s for linux. But there are files for other systems

Upd: miised you’re using rpi, so here is proper link

https://github.com/Picovoice/porcupine/tree/master/resources/keyword_files/raspberrypi

2 Likes