Open vabene1111 opened 4 years ago
There should be almost no difference unless the feedback sounds are bleeding over into the recorded voice command. If you record a command and click the play back button in the web UI, do you hear the beeps?
so until now i did not have an output device configured. I attatched a headset for testing.
When recording, stopping recording or playing the voice command no sounds play. When saying the wake word it does make two sounds, one when starting recording and one when ending (at least that what i think since the icon on the top left changes as well between the beeps).
Still the detection is basically useless when using the wake word and almost perfect when triggering the recording manually.
Started playing today and had the same problem. When listening to the last command in the web UI after the wake word (thanks for the hint @synesthesiam), I realized that the first split second of the command was cut off and the first word could not be recognized. Seems like webrtcvad needed some tuning ... adding this to the profile fixed it for me:
"command": {
"webrtcvad": {
"speech_buffers": 0,
"throwaway_buffers": 3
}
(Although something was weird about the speech_buffers
setting: somewhere around 2-3 the behaviour jumped from "cutting the first command word" to "keep all the silence between wake word and first command word")
Ok that is definitely a huge improvement to how it was before! It feels like everything is a little slower now but that might be something else.
I can confirm that https://github.com/synesthesiam/rhasspy/issues/199#issuecomment-614336096 is an improvement:
Before when I would say: What time is it?
it would only recognize time is it
. Now it recognizes the whole sentence.
Should I make a PR to change the defaults?
I don't see this problem anymore with rhasspy 2.5 from here: https://github.com/rhasspy/rhasspy
I dont know if this is a bug or just some kind of usage error but i have tried both pocketsphyx and prorcupine as wake word providers. Both work and have good recognition rates but the recognition after the wake word is very bad compared to the recognition when clicking "hold to record".
When using hold to record i feel like the recognition rate is somewhere around 98%, with the wake word and a lot of trial and error for the right pronunciation and timing between waking and speaking its somwhere around 20-30%. I have been trying
play music
andstop music
as commands.I am using v2.4.19 with the docker install and a ReSpeaker 2-Mic board as a microphone (but i dont thing thats the cause since the manual record works great).
The settings are all default (except of course that the wake word detection was turned on). I have trained multiple times, restarted, and cleared the training chache and retrained.
Any ideas why this difference could occur ?
here the settings from the advanced tab (should be only the non default ones if i understand correctly)