respeaker / get_started_with_respeaker

This is the wiki of ReSpeaker Core V2, ReSpeaker Core and ReSpeaker Mic Array.
259 stars 83 forks source link

Can't change the wake words #197

Open edswall opened 6 years ago

edswall commented 6 years ago

Which version is your board? ReSpeaker Core V1 with the Mic Array

I've read the directions on how to do this and read the FAQ where people discuss their problems with doing so. However, when I do change the keywords.txt and the dictionary.txt files and reboot, ReSpeaker appears to lock up and all the lights turn red and stay red until I shut the ReSpeaker off. If I turn ReSpeaker back on and replace these files with the originals (it seems to be the case, that the contents of dictionary.txt is wiped) and then reboot everything works fine. I have double checked the file structure of my changes against the originals and there are no spurious line feeds, etc. The only difference is that I have added new wake words. I have run 'find' and the files are in /usr/lib/python2.7/site-packages/respeaker/pocketsphinx-data and /rom/usr/lib/python2.7/site-packages/respeaker/pocketsphinx-data. I am beginning to wonder if my problem isn't that these files are in rom. If so how can I get around that?

edswall commented 6 years ago

Well, a solution is to make sure alexa, for instance, isn't started during the initialization process and run, for example, alexa after initialization. This is not particularly elegant.