Closed nezuky closed 6 years ago
AIY image that google gives you have some minor tweakings. I would really not suggest mixing the projects. This project works best when used with the default Raspbian Desktop image.
Running a fresh non-AIY install worked, but now snowboy seems to be starting over and over again
It looks like it is stuck in a loop
Stop the snowboy service, run the snowboy.py manually and paste the error here.
pi@raspberrypi-VoiceAI:~ $ python /home/pi/GassistPi/src/snowboy.py
Traceback (most recent call last): File "/home/pi/GassistPi/src/snowboy.py", line 1, in <module> import snowboydecoder File "/home/pi/GassistPi/src/snowboydecoder.py", line 5, in <module> import snowboydetect File "/home/pi/GassistPi/src/snowboydetect.py", line 21, in <module> _snowboydetect = swig_import_helper() File "/home/pi/GassistPi/src/snowboydetect.py", line 20, in swig_import_helper return importlib.import_module('_snowboydetect') File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) ImportError: dynamic module does not define init function (init_snowboydetect)
It worked the first time, but entered a loop after I restarted the Pi
Snowboy should be run within the environemnt. Use this cmd to run it manually:
/home/pi/env/bin/python -u /home/pi/GassistPi/src/snowboy.py
Wow your're good, the issue was I had "jarvis.umdl" typed out in the snowboy.py file instead of "jarvis.pmdl"
Now its working! :D
Everything seems good to go, thank you
Oh, by the way, is there anyway to change the google assistant voice to male?
I am trying to make an Ironman like AI voice. (Jarvis)
Its not possible at the moment. third party programs have to be used to change the pitch. As google's official update is long overdue, i dont want to spend days doing something which would be released as a feature in their next update (which is likely to have the choice of voice change). If your issue is resolved kindly close this thread.
I am using an Raspberry Pi 3 B with Voice Hat, and the Raspbian os from google's AIY image
The main.py worked flawlesly without errors yestersday, but now I get this error while running main.py:
/////////////////////////////////////////////////////////////////////////////////////////////
In addition to main.py not working, I also could never get the snowboy service to start when running snowboy.py: