Open SmakyTaky opened 5 years ago
I just noticed the mp3 file is actually something that got recorded from what AlexaPi actually responded. Probably I should try some other paramters for aplay to play it properly.
b71506d672a260f13e757f00fa63fbc1.zip
However, again the odd thing here is that AlexaPi is randomly picking sound while I am talking and responded... and seems to me it is even taking that as actual input for it.
Anyone?
Hello, Your audio is not well configured (for audio output at least), please follow: https://emerickh.github.io/AlexaPi-config/setup/alsa.html
Your audio is not well configured (for audio output at least), please follow: https://emerickh.github.io/AlexaPi-config/setup/alsa.html
Well... not sure about that... I did modify the config.yaml file with:
input_device: "CMTECK MINI: USB Audio (plughw:1,0)" output: "alsa" output_device: "plughw:CARD=ALSA,DEV=0"
and I can clearly hear alexa saying "hello". It is the recording that seems not to be working properly,
There are a few folders under tmp named AlexaPi-runtime-something but none of them have any files under them.
Are you on a RPI Zero? They have the same issue here https://github.com/Kitt-AI/snowboy/issues/430 Try using PulseAudio: https://emerickh.github.io/AlexaPi-config/setup/pulse.html (you may have to run it in system-wide mode)
I have installed Raspbian Stretch on a Rasberry Pi 3+ with MagicMirror with the MMM-AlexaPi module installed and configured.
AlexaPi was installed to communicate with MagicMirror. I followed AlexaPi documentation to get it installed, I configured pulse audio to run in system-wide mode.
Whenever I boot the system I get Magic Mirror to load properly followed by "hello" on the speakers signaling AlexaPi is working. Logfile for both MagicMirror & AlexaPi shows no communication errors.
However, I am unable to have AlexaPi to react to the keyword "Alexa" and something I noticed is that Alexa would from time to time "wake up" reacting to my voice randomly and even responding to me stating it could not understand me.
Debugging Script output
AlexaPi log...
MagicMirror Log:
Looking at tmp/AlexaPi-runtime-rcwjzbjp (the only path that exists for AlexaPi right now) I noticed a single mp3 file created there.. however trying to play with
would yield a high pitch 1 sec or so sound.. no actual recording of anything I might have said that triggered pocketsphinx to identify a "wakeword".
Not sure where to go from here. As it seems AlexaPi is configured and managing sound properly (I can manually play and record sound using the above configuration - Speaker through jack & USB Microphone). Magic Mirror does connect to AlexaPi as there are not connection errors recorded but it seems AlexaPi is not either recording properly the sound or simply failing to recognize the wakeword.