KoljaB / RealtimeSTT

A robust, efficient, low-latency speech-to-text library with advanced voice activity detection, wake word activation and instant transcription.
MIT License
2.09k stars 190 forks source link

Not working properly on CachyOS Linux. #152

Open Bastigonzales opened 2 days ago

Bastigonzales commented 2 days ago

Whenever I run the program and try to speak the result always says "You."

ALSA lib pcm.c:2722:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rearALSA lib pcm.c:2722:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfeALSA lib pcm.c:2722:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.sideALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel mapALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel mapALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel mapALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel mapCannot connect to server socket err = No such file or directoryCannot connect to server request channeljack server is not running or cannot be startedJackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlockJackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlockCannot connect to server socket err = No such file or directoryCannot connect to server request channeljack server is not running or cannot be startedJackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlockJackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlockALSA lib pcm_oss.c:404:(_snd_pcm_oss_open) Cannot open device /dev/dspALSA lib pcm_oss.c:404:(_snd_pcm_oss_open) Cannot open device /dev/dspALSA lib pcm_a52.c:1036:(_snd_pcm_a52_open) a52 is only for playbackALSA lib confmisc.c:160:(snd_config_get_card) Invalid field cardALSA lib pcm_usb_stream.c:481:(_snd_pcm_usb_stream_open) Invalid card 'card'ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field cardALSA lib pcm_usb_stream.c:481:(_snd_pcm_usb_stream_open) Invalid card 'card'Cannot connect to server socket err = No such file or directoryCannot connect to server request channeljack server is not running or cannot be startedJackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlockJackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

homelab-00 commented 1 day ago

I'm not really that knowledgeable, but from asking ChatGPT the errors you see are probably related to the audio handling of the OS and not RealtimeSTT. You can see the full answer here if interested.

Whenever I run the program and try to speak the result always says "You."

I'm pretty sure that's a whisper hallucination when trying to transcribe silence, which reinforces ChatGPT's diagnosis.

You might also want to supply some more info about your hardware and software configuration. Especially: