Very new to Rhasspy. Have everything working intermittently end-to-end using the containerized distro of 2.5.0:
PyAudio -> Mycroft Precise -> Kaldi -> Fistifuffs -> MQTT
I have also experimented with Porcupine in place of Mycroft and Pocketsphinx in place of Kaldi with similar results.
The problem is that command recording fails more than it succeeds. Wake word triggering works flawlessly 100% of the time. However, while subsequent speech to text and intent processing work occasionally, most of the time the pipeline hangs immediately after the wake word. Looking at the logs makes it appear that the audio recording process thinks there is just silence or noise rather than an issue with understanding my pronunciation or the like. When it works it works every time. But most of the time it appears not even to try.
I have only been at this for a few hours so don’t have a lot of data. The pattern appears to be that the end-to-end processing only is successful when the environment is absolutely silent. If there is any backgrouund noise – even the subliminal hum of the central A/C fan – then the recording process is stymied.
If I am correct, this seems to be a configuration issue with how the speech to text stage processes the audio input? The hardware / software stack seems up to the challenge of picking out a voice from background noise (even when a ceiling fan and a TV are adding to the confusion). But the speech processing seems to fail from that point onward under any but the most (unrealistically) ideal conditions.
There seem to be very few tunable parameters in the audio and speech recognition sections of the web UI. Are there lower-level settings that might help?
Note that I have done my initial experiments using only the not-so-impressive mic built into a laptop. I am awaiting delivery of a schmancy ReSpeaker mic array that I plan to use in production. Is it possible that noise cancellation and similar pre-processing built into such a device will solve my problem?
Fingers crossed, since I would love to get this working and get Google Assistant out of my home!
Thanks in advance for any insights