Skip to content
This repository has been archived by the owner on Oct 14, 2019. It is now read-only.

Speech recording does not always work #6

Open
Xyaneon opened this issue Dec 1, 2015 · 4 comments
Open

Speech recording does not always work #6

Xyaneon opened this issue Dec 1, 2015 · 4 comments
Labels

Comments

@Xyaneon
Copy link
Owner

Xyaneon commented Dec 1, 2015

On my Ubuntu 15.10 laptop, I often cannot get the speech recognition to record anything. It may or may not be relevant, but the following is printed to the terminal after the CoreNLP server is started and just before "Say something!" appears:

ALSA lib pcm_dsnoop.c:614:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2267:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2267:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2267:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) unable to open slave
@KhalilKhalaf
Copy link
Collaborator

It seems to work for me every time. Doesn't work right away when you try again? or you need to restart the whole thing all over again? Maybe Internet issue or some other application is blocking it?

@Xyaneon
Copy link
Owner Author

Xyaneon commented Dec 1, 2015

I just made a commit where we try to adjust for ambient noise first. It seems to help a bit. I might also not be speaking loud enough.

@Xyaneon
Copy link
Owner Author

Xyaneon commented Dec 4, 2015

Also, when I try this at home, often the speech will be recorded but the assistant will hang on getting it transcribed by Google. It'd be nice if we could have some sort of timeout on this.

@jacob1
Copy link
Contributor

jacob1 commented Dec 4, 2015

it hangs when calling recognize_google? That is strange, it shouldn't really happen. You already added a timeout to the listening.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants